コード例 #1
0
ファイル: configuration_tests.py プロジェクト: jhford/uplift
 def test_is_not_present(self):
     a = {'john': 'ford'}
     self.assertFalse(subject.present('rob', a))
コード例 #2
0
ファイル: configuration_tests.py プロジェクト: jhford/uplift
 def test_is_present(self):
     a = {'john': 'ford'}
     self.assertTrue(subject.present('john', a))