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:
Lakshmi Prasanna Goutham Pratapa 2018-06-05 18:55:41 +05:30
parent 62b3bdebd9
commit 1a6bcdad99
1 changed files with 1 additions and 1 deletions

View File

@ -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