def test_creation(self): """ Since this is a sibling of ShellCommandStep, we only test what is different """ step = ConfigureStep( builder = self.builder, name = "configure", command = "./configure", ) step.save() self.assertTrue(step.id != None) self.assertEqual(unicode(step), "configure") self.assertEqual(step.get_config_type(), _("configure")) # try instantiating buildbot config object args = step.cast().get_config_args() self.assert_valid_buildbot_config(step.get_config_class(), args) # Check that the resulting config string is sensible self.assert_config_string_executable(step)