Ejemplo n.º 1
0
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(''))
Ejemplo n.º 2
0
 def setUp(self):
     self.OperationFeature = BaseOperationFeature(mock.Mock(),
                                                  mock.Mock(__name__='Foo'),
                                                  **{})
Ejemplo n.º 3
0
 def setUp(self):
     self.OperationFeature = BaseOperationFeature(mock.Mock(), mock.Mock(__name__='Foo'), **{})
Ejemplo n.º 4
0
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(''))