Example #1
0
 def testBeforeExecute(self):
     """Test that _beforeExecute is being called."""
     l = TestLayer("test2")
     self.assertFalse(l.beforeExecuteSet)
     l.beforeExecute()
     self.assertTrue(l.beforeExecuteSet)
Example #2
0
 def testBeforeExecute(self):
     """Test that before execute is being run by the plugin manager."""
     l = TestLayer("test2")
     l.beforeExecute()
     self.assertTrue(blueprint.plugins.test_plugin.Init.BeforeExecute)
Example #3
0
 def testBeforeExecute(self):
     """Test that before execute is being run by the plugin manager."""
     l = TestLayer("test2")
     l.beforeExecute()
     self.assertTrue(blueprint.plugins.test_plugin.Init.BeforeExecute)
Example #4
0
 def testBeforeExecute(self):
     """Test that _beforeExecute is being called."""
     l = TestLayer("test2")
     self.assertFalse(l.beforeExecuteSet)
     l.beforeExecute()
     self.assertTrue(l.beforeExecuteSet)