Example #1
0
 def test_is_not_present(self):
     a = {'john': 'ford'}
     self.assertFalse(subject.present('rob', a))
Example #2
0
 def test_is_present(self):
     a = {'john': 'ford'}
     self.assertTrue(subject.present('john', a))