def testSetup(self): """Test that _setup is being called.""" l = TestLayer("test2") self.assertFalse(l.setupSet) l.setup() self.assertTrue(l.setupSet)
def testSetup(self): """Test that setup is being run by the plugin manager.""" l = TestLayer("test2") l.setup() self.assertTrue(blueprint.plugins.test_plugin.Init.Setup)