Пример #1
0
 def test_with_predicate_unmet(self):
     req = Request({}, make_user(None))
     assert_false(is_met(MockPredicate(False), req))
Пример #2
0
 def test_with_predicate_unmet(self):
     req = Request({}, make_user(None))
     assert_false(is_met(MockPredicate(False), req))
Пример #3
0
 def test_with_predicate_met(self):
     req = Request({}, make_user(None))
     ok_(is_met(MockPredicate(), req))
Пример #4
0
 def test_with_predicate_met(self):
     req = Request({}, make_user(None))
     ok_(is_met(MockPredicate(), req))