Commit e95f72e3 authored by Michal Čihař's avatar Michal Čihař

Remove unused variables and imports

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5c34a0a5
......@@ -113,7 +113,7 @@ class ACLViewTest(ViewTestCase):
"""Adding and removing owner from the ACL project.
"""
self.add_user()
response = self.client.post(
self.client.post(
reverse('make-owner', kwargs=self.kw_project),
{'name': self.second_user.username}
)
......@@ -122,7 +122,7 @@ class ACLViewTest(ViewTestCase):
username=self.second_user.username
).exists()
)
response = self.client.post(
self.client.post(
reverse('revoke-owner', kwargs=self.kw_project),
{'name': self.second_user.username}
)
......@@ -137,7 +137,7 @@ class ACLViewTest(ViewTestCase):
"""Adding and deleting owner from the ACL project.
"""
self.add_user()
response = self.client.post(
self.client.post(
reverse('make-owner', kwargs=self.kw_project),
{'name': self.second_user.username}
)
......
......@@ -20,8 +20,6 @@
from django.utils.translation import ugettext as _
from django.contrib.auth.decorators import login_required
from django.db.models import Q
from django.contrib.auth.models import User
from django.contrib import messages
from django.views.decorators.http import require_POST
from django.core.exceptions import PermissionDenied
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment