Changeset - 40cc47b13d9b
[Not reviewed]
default
0 3 0
Branko Majic (branko) - 11 years ago 2013-07-17 21:39:18
branko@majic.rs
Noticket: PEP8 fixes.
2 files changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
conntrackt/tests/test_views.py
Show inline comments
 
@@ -191,13 +191,13 @@ class EntityViewTest(ViewTest):
 

	
 
        response = self.client.get(reverse("entity", args=(1,)))
 

	
 
        expected_incoming_communications = ["<Communication: Test Entity 2 -> Test Entity 1 (TCP:22)>",
 
                                            "<Communication: Test Entity 2 -> Test Entity 1 (ICMP:8)>",
 
                                            "<Communication: Test Entity 3 -> Test Entity 1 (TCP:3306)>",
 
                                            "<Communication: Test Subnet -> Test Entity 1 (TCP:22)>",]
 
                                            "<Communication: Test Subnet -> Test Entity 1 (TCP:22)>"]
 

	
 
        expected_outgoing_communications = ["<Communication: Test Entity 1 -> Test Entity 2 (UDP:123)>",
 
                                            "<Communication: Test Entity 1 -> Test Entity 3 (UDP:53)>"]
 

	
 
        expected_interfaces = ["<Interface: Test Entity 1 (192.168.1.1)>"]
 

	
conntrackt/views.py
Show inline comments
 
@@ -677,7 +677,6 @@ class InterfaceDeleteView(MultiplePermis
 
        @TODO: Fix this once Django 1.6 comes out with fix from ticket 19044.
 
        """
 

	
 
        self.success_url = reverse("entity", args=(self.get_object().entity.id,))
 

	
 
        return super(InterfaceDeleteView, self).delete(*args, **kwargs)
 

	
0 comments (0 inline, 0 general)