Fixed Unit test for magnum-ui

After 7052b7f065 merged in openstack/horizon a new Unit
test class introduced in horizon i.e. RestAPITestCase.
This patch updates magnum-ui to import RestAPITestCase
class instead of TestCase. For more info. see [1]

[1] https://review.opendev.org/c/openstack/horizon/+/827097/2/openstack_dashboard/test/helpers.py#485

Change-Id: I4ef0cd315e615e390f15a8fa16fe4aaa380a2470
This commit is contained in:
manchandavishal 2022-03-31 17:10:17 +05:30
parent 36b57fae1e
commit e203d7791f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ from openstack_dashboard.test.test_data import utils
TEST = utils.TestData(test_data.data)
class MagnumRestTestCase(test.TestCase):
class MagnumRestTestCase(test.RestAPITestCase):
# Cluster Templates
@mock.patch.object(magnum, 'magnum')