summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorPetr Cech <pcech@redhat.com>2015-10-02 07:34:08 -0400
committerJakub Hrozek <jhrozek@redhat.com>2015-11-14 13:05:05 +0100
commitda79bee1472a06b89be2df903fb0bd8ce600c610 (patch)
tree2dd9e9cabf48053c1819ed9215a37490d9271cae /src/python
parent89530c830ded58c6140cdb34c9de07bf77bb5bc0 (diff)
downloadsssd-da79bee1472a06b89be2df903fb0bd8ce600c610.tar.gz
sssd-da79bee1472a06b89be2df903fb0bd8ce600c610.tar.xz
sssd-da79bee1472a06b89be2df903fb0bd8ce600c610.zip
TEST: Add test_user_by_recent_filter_valid
Test users_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). users_by_filter_valid() --> user_by_recent_filter_valid() users_by_recent_filter_valid() The first of new tests, user_by_recent_filter_valid(), counts with two users. One is stored before filter request creation and the second user is stored after filter request creation. So filter returns only one user. The second of new tests, users_by_recent_filter_valid(), counts with three users. One is stored before filter request creation and two users are stored after filter request creation. So filter returns two users. This patch adds user_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