Fix the tests to use a fake build that is not a moving target.
This commit is contained in:
parent
688f22a9f5
commit
c953447ae0
1 changed files with 1 additions and 1 deletions
|
@ -970,7 +970,7 @@ class TestRepoBuilds(ApiTestCase):
|
||||||
params=dict(repository=ADMIN_ACCESS_USER + '/building'))
|
params=dict(repository=ADMIN_ACCESS_USER + '/building'))
|
||||||
|
|
||||||
assert len(json['builds']) > 0
|
assert len(json['builds']) > 0
|
||||||
build = json['builds'][0]
|
build = json['builds'][-1]
|
||||||
|
|
||||||
assert 'id' in build
|
assert 'id' in build
|
||||||
assert 'status' in build
|
assert 'status' in build
|
||||||
|
|
Reference in a new issue