Exemplo n.º 1
0
 def test_with_predicate_unmet(self):
     req = Request({}, make_user(None))
     ok_(not_met(MockPredicate(False), req))
Exemplo n.º 2
0
 def test_with_predicate_unmet(self):
     req = Request({}, make_user(None))
     ok_(not_met(MockPredicate(False), req))
Exemplo n.º 3
0
 def test_with_predicate_met(self):
     req = Request({}, make_user(None))
     assert_false(not_met(MockPredicate(), req))
Exemplo n.º 4
0
 def test_with_predicate_met(self):
     req = Request({}, make_user(None))
     assert_false(not_met(MockPredicate(), req))