# HG changeset patch # User Branko Majic # Date 2013-07-24 20:45:06 # Node ID 1009b1cbc3de3330ee2f2b5cfba78d0a0c65d592 # Parent e10572a75d58391988c718d5235bac34065cf2b2 Noticket: PEP8 fixes. diff --git a/conntrackt/tests/test_views.py b/conntrackt/tests/test_views.py --- a/conntrackt/tests/test_views.py +++ b/conntrackt/tests/test_views.py @@ -122,7 +122,7 @@ class ProjectViewTest(PermissionTestMixi # Set-up expected context data values. expected_entities = ["", ""] - + # Validate context data. self.assertEqual(location.name, "Test Location 1") self.assertQuerysetEqual(entities, expected_entities) @@ -174,7 +174,6 @@ class EntityViewTest(PermissionTestMixin expected_interfaces = [""] - # Validate the response. self.assertQuerysetEqual(response.context_data["interfaces"], expected_interfaces) self.assertQuerysetEqual(response.context_data["incoming_communications"], expected_incoming_communications) @@ -485,7 +484,7 @@ class LocationCreateViewTest(PermissionT view_class = LocationCreateView sufficient_permissions = ("add_location",) - + def test_form_styling(self): """ Tests if proper form styling is being applied. @@ -501,7 +500,7 @@ class LocationCreateViewTest(PermissionT self.assertContains(response, 'class="span6 textarea') self.assertContains(response, 'placeholder="New Location"') self.assertContains(response, 'placeholder="Description for new location."') - + class LocationUpdateViewTest(PermissionTestMixin, TestCase):