From 48e0b96e2c64bb44ec30e8cd039bd1db2ac20d66 Mon Sep 17 00:00:00 2001 From: Aamir Khan Date: Fri, 10 Aug 2012 19:05:04 +0530 Subject: Fix : Error importing unit tests --- hyperkitty/tests/__init__.py | 6 +++--- hyperkitty/tests/test_views.py | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'hyperkitty/tests') 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 # -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 -- cgit