fe6dd66 TEST: Add test_group_by_recent_filter_valid

1 file Authored by pcech 8 years ago, Committed by jhrozek 8 years ago,
    TEST: Add test_group_by_recent_filter_valid
    
    Test groups_by_filter_valid() was removed in past. We will add two new
    tests instead of it. Logic of those tests is connected to RECENT
    filter. It returns only records which have been wrote or updated after
    filter was created (or another given time).
    
    groups_by_filter_valid() --> group_by_recent_filter_valid()
                                 grous_by_recent_filter_valid()
    
    The first of new tests, group_by_recent_filter_valid(), counts with two
    groups. One is stored before filter request creation and the second
    group is stored after filter request creation. So filter returns only
    one group.
    
    The second of new tests, groups_by_recent_filter_valid(), counts with
    three users. One is stored before filter request creation and two
    groups are stored after filter request creation. So filter returns two
    groups.
    
    This patch adds group_by_recent_filter_valid().
    
    Resolves:
    https://fedorahosted.org/sssd/ticket/2730
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>