コード例 #1
0
ファイル: test_role.py プロジェクト: bilalaslamseattle/kappa
 def test_not_exists(self):
     mock_context = mock.Mock()
     role = Role(mock_context, Config2)
     self.assertFalse(role.exists())
コード例 #2
0
ファイル: test_role.py プロジェクト: vtzika/kappa
 def test_not_exists(self):
     mock_context = mock.Mock()
     role = Role(mock_context, Config2)
     self.assertFalse(role.exists())
コード例 #3
0
ファイル: test_role.py プロジェクト: bilalaslamseattle/kappa
 def test_exists(self):
     mock_context = mock.Mock()
     role = Role(mock_context, Config1)
     self.assertTrue(role.exists())
コード例 #4
0
ファイル: test_role.py プロジェクト: vtzika/kappa
 def test_exists(self):
     mock_context = mock.Mock()
     role = Role(mock_context, Config1)
     self.assertTrue(role.exists())