Beispiel #1
0
 def test_get_logs_unimplemented(self):
     self.assertRaises(NotImplementedError,
                       policy.PolicyExecutionMode({}).get_logs, 1, 2)
 def test_get_logs_unimplemented(self):
     action = policy.PolicyExecutionMode({}).get_logs(1, 2)
     self.fail('Should have raised NotImplementedError')
Beispiel #3
0
 def test_run_unimplemented(self):
     self.assertRaises(NotImplementedError,
                       policy.PolicyExecutionMode({}).run)
 def test_run_unimplemented(self):
     action = policy.PolicyExecutionMode({}).run()
     self.fail('Should have raised NotImplementedError')