예제 #1
0
 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
 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())