Fix flake8 warning

This commit is contained in:
PCoder 2017-11-26 01:51:03 +01:00
parent d466c56a17
commit 94f0921168

View file

@ -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"),