Closed msabramo closed 9 years ago
Wouldn't you want a test where the branch is actually set?
And should &locator=branch:{branch}
be set if there are no locator-related arguments?
It's ok to have &locator=branch:{branch}
even when branch
is blank. TC accepts this and treats it as any branch is ok.
I do need to add more tests.
I changed this pretty heavily.
There is a new smart wrapper for the existing get_all_builds
and get_all_builds_by_build_type_id
methods, as it was kind of annoying to have 2 different methods for very similar functionality.
def get_builds(self, build_type_id='', branch='',
start=0, count=100, **kwargs):
Add
get_builds
: filter bybuild_type
orbranch
This is a smart wrapper for the existing
get_all_builds
andget_all_builds_by_build_type_id
methods.Cc: @aconrad, @sudarkoff