Merge "Remove mox from DataProcessingClusterGuideTests"

This commit is contained in:
Zuul 2018-05-04 17:21:52 +00:00 committed by Gerrit Code Review
commit 9114c2d7ec
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')