Remove mox from DataProcessingClusterGuideTests

Apart of the mox3 community goal for Rocky.

Change-Id: Ib060e7be477868131b0dc6dcd12fbadc35d15d7c
Signed-off-by: Charles Short <zulcss@gmail.com>
This commit is contained in:
Charles Short 2018-04-21 09:28:16 -04:00
parent 787cc08789
commit 3227c74c3a
1 changed files with 4 additions and 2 deletions

View File

@ -24,9 +24,11 @@ CLUSTER_GUIDE_RESET_URL = reverse(
class DataProcessingClusterGuideTests(test.TestCase):
@test.create_stubs({api.sahara: ('nodegroup_template_find',)})
use_mox = False
@test.create_mocks({api.sahara: ('nodegroup_template_find',)})
def test_cluster_guide(self):
self.mox.ReplayAll()
res = self.client.get(CLUSTER_GUIDE_URL)
self.assertTemplateUsed(
res, 'cluster_wizard/cluster_guide.html')