Fix flake8 warning
This commit is contained in:
parent
d466c56a17
commit
94f0921168
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue