Example #1
0
 def test_get_plugin_type_none(self):
     step = PluginStep('foo_step')
     self.assertEquals(None, step.get_plugin_type())
Example #2
0
 def test_get_plugin_type_from_parent(self):
     step = PluginStep('foo_step')
     step.conduit = 'foo'
     step.parent = Mock()
     step.parent.get_plugin_type.return_value = 'foo'
     self.assertEquals('foo', step.get_plugin_type())
Example #3
0
 def test_get_plugin_type(self):
     step = PluginStep('foo_step')
     step.plugin_type = 'foo'
     self.assertEquals('foo', step.get_plugin_type())