From 26ff33c41a228db42f42d091c13d7159f039d56d Mon Sep 17 00:00:00 2001 From: John Anderson Date: Sun, 25 Oct 2020 17:56:42 -0400 Subject: [PATCH] pep8 --- netbox/extras/tests/test_models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/netbox/extras/tests/test_models.py b/netbox/extras/tests/test_models.py index b0c5fb402..280da75b6 100644 --- a/netbox/extras/tests/test_models.py +++ b/netbox/extras/tests/test_models.py @@ -317,7 +317,6 @@ class ConfigContextTest(TestCase): ) cluster_context.clusters.add(cluster) - virtual_machine = VirtualMachine.objects.create( name="VM 1", cluster=cluster, @@ -328,4 +327,4 @@ class ConfigContextTest(TestCase): virtual_machine.tags.add(self.tag) annotated_queryset = VirtualMachine.objects.filter(name=virtual_machine.name).annotate_config_context_data() - self.assertEqual(virtual_machine.get_config_context(), annotated_queryset[0].get_config_context()) \ No newline at end of file + self.assertEqual(virtual_machine.get_config_context(), annotated_queryset[0].get_config_context())