コード例 #1
0
 def test_is_skipped_dict_not_skipped(self):
     step = UnitPublishStep("foo", 'bar')
     step.config = PluginCallConfiguration(None, None)
     self.assertFalse(step.is_skipped())
コード例 #2
0
 def test_is_skipped_dict(self):
     step = UnitPublishStep("foo", 'bar')
     step.config = PluginCallConfiguration(None, {'skip': {'bar': True, 'baz': True}})
     self.assertTrue(step.is_skipped())