From 94f0921168829e928a7f7c289a9aa01f62799bb7 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 26 Nov 2017 01:51:03 +0100 Subject: [PATCH] Fix flake8 warning --- hosting/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/test_views.py b/hosting/test_views.py index cc29183b..2c71959a 100644 --- a/hosting/test_views.py +++ b/hosting/test_views.py @@ -35,7 +35,6 @@ class ProcessVMSelectionTestMixin(object): self.assertEqual(found.func.__name__, self.view.__name__) def test_get(self): - print( "Domain = " + settings.OPENNEBULA_DOMAIN) response = self.client.get(self.url) self.assertEqual(response.status_code, 200) # self.assertEqual(self.view.get_context_data(), self.expected_context) @@ -108,6 +107,7 @@ class NodeJSHostingViewTest(TestCase, ProcessVMSelectionTestMixin): # 'vm_types': VirtualMachineType.get_serialized_vm_types(), } + @skipIf( (settings.OPENNEBULA_DOMAIN is None or settings.OPENNEBULA_DOMAIN == "test_domain"),