def testBeforeExecute(self): """Test that _beforeExecute is being called.""" l = TestLayer("test2") self.assertFalse(l.beforeExecuteSet) l.beforeExecute() self.assertTrue(l.beforeExecuteSet)
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)