class BaseOperationFeatureTestCase(unittest.TestCase): def setUp(self): self.OperationFeature = BaseOperationFeature(mock.Mock(), mock.Mock(__name__='Foo'), **{}) def test_execute_not_implemented(self): self.assertRaises(NotImplementedError, lambda: self.OperationFeature.execute(''))
def setUp(self): self.OperationFeature = BaseOperationFeature(mock.Mock(), mock.Mock(__name__='Foo'), **{})