diff options
author | adityacp | 2016-08-25 16:29:29 +0530 |
---|---|---|
committer | adityacp | 2016-08-25 16:29:29 +0530 |
commit | 40dc5e38c23d5c99475a6e9bbb811c5bb9b5d016 (patch) | |
tree | ff8ce2c4c4ebae943820411dbea773236fa948bf /yaksh/test_views.py | |
parent | 074ca3fe68b790279c6ed8e0dda580b5ade8586e (diff) | |
download | online_test-40dc5e38c23d5c99475a6e9bbb811c5bb9b5d016.tar.gz online_test-40dc5e38c23d5c99475a6e9bbb811c5bb9b5d016.tar.bz2 online_test-40dc5e38c23d5c99475a6e9bbb811c5bb9b5d016.zip |
changed testcases to test questions dump
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r-- | yaksh/test_views.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py index 6e59e26..3c08e48 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -640,8 +640,10 @@ class TestCourses(TestCase): def setUp(self): self.client = Client() - self.mod_group = Group.objects.create(name='moderator') - + 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( |