summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r--yaksh/test_views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py
index e232bc0..f027976 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -642,7 +642,9 @@ class TestCourses(TestCase):
self.client = Client()
self.mod_group = Group.objects.create(name='moderator')
-
+ User.objects.get_or_create(username='demo_user',
+ password='demo',
+ email='demo@test.com')
# Create Moderator with profile
self.user1_plaintext_pass = 'demo1'
self.user1 = User.objects.create_user(