diff options
author | Bin Yang <bin.yang@windriver.com> | 2019-05-28 07:30:42 +0000 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2019-05-28 07:30:42 +0000 |
commit | 18d97d784f69ee5fd517a5d0f9c6d007a8d40396 (patch) | |
tree | e93730840f84fdf6e36b54f6db41da96bf843f0d /newton | |
parent | 9154720606df1bb43e501a63cd23beca77a409eb (diff) |
Fix UT mismatch after fixing the tenants issue1.3.4
Change-Id: Ie563de7f80c84c3eaed64589ec6e6250d80a31b6
Issue-ID: MULTICLOUD-657
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'newton')
-rw-r--r-- | newton/newton/requests/tests/test_image.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newton/newton/requests/tests/test_image.py b/newton/newton/requests/tests/test_image.py index c32ccd50..0a4f05c0 100644 --- a/newton/newton/requests/tests/test_image.py +++ b/newton/newton/requests/tests/test_image.py @@ -22,7 +22,7 @@ from rest_framework import status from newton_base.tests import mock_info from newton_base.tests import test_base from newton_base.tests.test_base import AbstractTestResource -from newton_base.openoapi.image import imageThread +from newton_base.openoapi.image import ImageThread from newton_base.util import VimDriverUtils @@ -70,7 +70,7 @@ class TestImageNewton(unittest.TestCase, AbstractTestResource): self.HTTP_not_found = status.HTTP_404_NOT_FOUND - @mock.patch.object(imageThread, 'run') + @mock.patch.object(ImageThread, 'run') @mock.patch.object(urllib, 'request') @mock.patch.object(VimDriverUtils, 'get_session') @mock.patch.object(VimDriverUtils, 'get_vim_info') |