Fix the tests.
This commit is contained in:
parent
8f6cdabde3
commit
2bc3df1c3e
2 changed files with 3 additions and 1 deletions
|
@ -856,7 +856,6 @@ class TestGetRepoBuilds(ApiTestCase):
|
||||||
|
|
||||||
assert 'id' in build
|
assert 'id' in build
|
||||||
assert 'status' in build
|
assert 'status' in build
|
||||||
assert 'message' in build
|
|
||||||
|
|
||||||
|
|
||||||
class TestRequearRepoBuild(ApiTestCase):
|
class TestRequearRepoBuild(ApiTestCase):
|
||||||
|
|
|
@ -35,3 +35,6 @@ class FakeUserfiles(object):
|
||||||
|
|
||||||
def get_file_url(self, file_id, expires_in=300):
|
def get_file_url(self, file_id, expires_in=300):
|
||||||
return ('http://fake/url')
|
return ('http://fake/url')
|
||||||
|
|
||||||
|
def get_file_checksum(self, file_id):
|
||||||
|
return 'abcdefg'
|
||||||
|
|
Reference in a new issue