summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorPetr Cech <pcech@redhat.com>2015-11-01 07:09:28 -0500
committerJakub Hrozek <jhrozek@redhat.com>2015-11-14 13:08:10 +0100
commitfe6dd669d1e8606862879127f92c177bb7fdc1bd (patch)
tree4e2daf35963907ec0f4b962dc6abb9f1b8defbd7 /src/python
parenta6a5a08a357d2adbb653b81bacc602ca3543c4c4 (diff)
downloadsssd-fe6dd669d1e8606862879127f92c177bb7fdc1bd.tar.gz
sssd-fe6dd669d1e8606862879127f92c177bb7fdc1bd.tar.xz
sssd-fe6dd669d1e8606862879127f92c177bb7fdc1bd.zip
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>
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions