Fix py27 and py35 tests-failure.
This commit is to fix the failing py27 and py35. The issue is it raised webtest.api error and keyerror is asserted until now. Change-Id: Ie4f30b8204bfd039f81a49b57b11836fa8200017
This commit is contained in:
parent
62b3bdebd9
commit
1a6bcdad99
@ -372,7 +372,7 @@ class TestResourceManager(testroot.KBApiTest):
|
||||
delete_url = FAKE_URL + '/' + FAKE_JOB
|
||||
mock_db_api.sync_job_status.return_value = consts.JOB_PROGRESS
|
||||
self.assertRaises(
|
||||
KeyError,
|
||||
webtest.app.AppError,
|
||||
self.app.delete_json,
|
||||
delete_url,
|
||||
headers=FAKE_HEADERS
|
||||
|
Loading…
Reference in New Issue
Block a user