def test_is_skipped_dict_not_skipped(self): step = UnitPublishStep("foo", 'bar') step.config = PluginCallConfiguration(None, None) self.assertFalse(step.is_skipped())
def test_is_skipped_dict(self): step = UnitPublishStep("foo", 'bar') step.config = PluginCallConfiguration(None, {'skip': {'bar': True, 'baz': True}}) self.assertTrue(step.is_skipped())