# run the Python unit tests (available after rel_1_6)
def has_python_unit_test(step):
- return step.build.getProperty('branch') != 'branches/rel_1_6'
+ return step.build.getProperty('branch') != 'rel_1_6'
osrf_factory.addStep(python_twisted.Trial(
doStepIf=has_python_unit_test,
def has_perl_unit_tests(step):
'Only run Perl tests if there are tests'
- if (step.build.getProperty('branch') == 'branches/rel_1_6_1'):
+ if (step.build.getProperty('branch') == 'rel_1_6_1'):
return False
- elif (step.build.getProperty('branch') == 'branches/rel_2_0'):
+ elif (step.build.getProperty('branch') == 'rel_2_0'):
return False
return True