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