summaryrefslogtreecommitdiffstats
path: root/hyperkitty/tests
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/tests')
-rw-r--r--hyperkitty/tests/__init__.py6
-rw-r--r--hyperkitty/tests/test_views.py8
2 files changed, 4 insertions, 10 deletions
diff --git a/hyperkitty/tests/__init__.py b/hyperkitty/tests/__init__.py
index 4cf4941..bf3e6b6 100644
--- a/hyperkitty/tests/__init__.py
+++ b/hyperkitty/tests/__init__.py
@@ -19,6 +19,6 @@
# Author: Aamir Khan <syst3m.w0rm@gmail.com>
#
-from gsoc.tests.test_views import *
-from gsoc.tests.test_models import *
-from gsoc.tests.test_forms import *
+from hyperkitty.tests.test_views import *
+from hyperkitty.tests.test_models import *
+from hyperkitty.tests.test_forms import *
diff --git a/hyperkitty/tests/test_views.py b/hyperkitty/tests/test_views.py
index b94ef43..649edaa 100644
--- a/hyperkitty/tests/test_views.py
+++ b/hyperkitty/tests/test_views.py
@@ -32,7 +32,7 @@ class AccountViewsTestCase(TestCase):
def test_login(self):
# Try to access user profile (private data) without logging in
response = self.client.get(reverse('user_profile'))
- self.assertRedirects(response, "%s?next=%s" % (reverse('user_login'),reverse('user_profile')))
+ self.assertRedirects(response, "%s?next=%s" % (reverse('user_login'), reverse('user_profile')))
def test_profile(self):
User.objects.create_user('testuser', 'syst3m.w0rm+test@gmail.com', 'testPass')
@@ -64,9 +64,3 @@ class AccountViewsTestCase(TestCase):
# @TODO: Try to register a user and verify its working
-
-
-
-
-
- \ No newline at end of file