summaryrefslogtreecommitdiffstats
path: root/hyperkitty/tests
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-08-10 19:05:04 +0530
committerAamir Khan <syst3m.w0rm@gmail.com>2012-08-10 19:05:04 +0530
commit48e0b96e2c64bb44ec30e8cd039bd1db2ac20d66 (patch)
treeada7683aa1aa3efd6307ee90f67989264d733468 /hyperkitty/tests
parentb6c779f1f233649f1ad68cdbc976e2740542afde (diff)
downloadhyperkitty-48e0b96e2c64bb44ec30e8cd039bd1db2ac20d66.tar.gz
hyperkitty-48e0b96e2c64bb44ec30e8cd039bd1db2ac20d66.tar.xz
hyperkitty-48e0b96e2c64bb44ec30e8cd039bd1db2ac20d66.zip
Fix : Error importing unit tests
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