Changeset - 0ad7fb05f06f
[Not reviewed]
default
0 1 0
Branko Majic (branko) - 11 years ago 2013-07-24 21:22:44
branko@majic.rs
CONNT-13: PEP8 fixes.
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
conntrackt/tests/test_views.py
Show inline comments
 
@@ -379,25 +379,24 @@ class ProjectCreateViewTest(PermissionTe
 
    view_class = ProjectCreateView
 
    sufficient_permissions = ("add_project",)
 

	
 

	
 
class ProjectUpdateViewTest(PermissionTestMixin, TestCase):
 

	
 
    fixtures = ['test-data.json']
 

	
 
    view_class = ProjectUpdateView
 
    sufficient_permissions = ("change_project",)
 
    permission_test_view_kwargs = {"pk": 1}
 

	
 

	
 
    def test_context(self):
 
        """
 
        Verifies that the context is properly set-up when the view is called for
 
        specific project.
 
        """
 

	
 
        # Get the view.
 
        view = ProjectUpdateView.as_view()
 

	
 
        # Get the response.
 
        response = generate_get_response(view, None, pk=1)
 

	
0 comments (0 inline, 0 general)