Add the resource_key back to the repository build.
This commit is contained in:
parent
b9580c1c29
commit
c13f7cd9df
8 changed files with 20 additions and 18 deletions
|
@ -858,7 +858,7 @@ class TestGetRepoBuilds(ApiTestCase):
|
|||
assert 'status' in build
|
||||
|
||||
|
||||
class TestRequearRepoBuild(ApiTestCase):
|
||||
class TestRequestRepoBuild(ApiTestCase):
|
||||
def test_requestrepobuild(self):
|
||||
self.login(ADMIN_ACCESS_USER)
|
||||
|
||||
|
@ -871,7 +871,7 @@ class TestRequearRepoBuild(ApiTestCase):
|
|||
# Request a (fake) build.
|
||||
self.postResponse('api.request_repo_build',
|
||||
params=dict(repository=ADMIN_ACCESS_USER + '/simple'),
|
||||
data=dict(file_id = 'foobarbaz'),
|
||||
data=dict(file_id='foobarbaz'),
|
||||
expected_code=201)
|
||||
|
||||
# Check for the build.
|
||||
|
|
Reference in a new issue