Fix the tests to use a fake build that is not a moving target.

This commit is contained in:
Jake Moshenko 2014-05-20 18:53:00 -04:00
parent 688f22a9f5
commit c953447ae0

View file

@ -970,7 +970,7 @@ class TestRepoBuilds(ApiTestCase):
params=dict(repository=ADMIN_ACCESS_USER + '/building'))
assert len(json['builds']) > 0
build = json['builds'][0]
build = json['builds'][-1]
assert 'id' in build
assert 'status' in build