tests: fix 3 more unit-tests
This commit is contained in:
parent
e99780dea1
commit
9bbdde8d18
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class TestLock(object):
|
||||||
self.apikey_regular, "lock", userid=TEST_USER_ADMIN_LOGIN, repoid=repo_name, locked=True
|
self.apikey_regular, "lock", userid=TEST_USER_ADMIN_LOGIN, repoid=repo_name, locked=True
|
||||||
)
|
)
|
||||||
response = api_call(self.app, params)
|
response = api_call(self.app, params)
|
||||||
expected = "userid is not the same as your user"
|
expected = "Provided userid is not the same the user calling this function"
|
||||||
assert_error(id_, expected, given=response.body)
|
assert_error(id_, expected, given=response.body)
|
||||||
|
|
||||||
def test_api_lock_repo_lock_aquire_non_admin_not_his_repo(self, backend):
|
def test_api_lock_repo_lock_aquire_non_admin_not_his_repo(self, backend):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue