From 3227c74c3ac01e46e1a0612c9c781e1321e6fc76 Mon Sep 17 00:00:00 2001 From: Charles Short Date: Sat, 21 Apr 2018 09:28:16 -0400 Subject: [PATCH] Remove mox from DataProcessingClusterGuideTests Apart of the mox3 community goal for Rocky. Change-Id: Ib060e7be477868131b0dc6dcd12fbadc35d15d7c Signed-off-by: Charles Short --- .../content/data_processing/clusters/wizard/tests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sahara_dashboard/content/data_processing/clusters/wizard/tests.py b/sahara_dashboard/content/data_processing/clusters/wizard/tests.py index 89475b5b..6fcd1b2f 100644 --- a/sahara_dashboard/content/data_processing/clusters/wizard/tests.py +++ b/sahara_dashboard/content/data_processing/clusters/wizard/tests.py @@ -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')