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.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py
index edac077..46d3929 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -3989,10 +3989,10 @@ class TestShowQuestions(TestCase):
active=True
)
test_case_upload_data = [{"test_case": "assert fact(3)==6",
- "test_case_type": "standardtestcase",
- "test_case_args": "",
- "weight": 1.0
- }]
+ "test_case_type": "standardtestcase",
+ "test_case_args": "",
+ "weight": 1.0
+ }]
question_data_1 = {"snippet": "def fact()", "active": True,
"points": 1.0,
"description": "factorial of a no",
@@ -4019,7 +4019,6 @@ class TestShowQuestions(TestCase):
yaml_question_2.encode("utf-8")
)
-
def test_show_questions_denies_student(self):
"""
Check show questions denies student
@@ -4174,7 +4173,6 @@ class TestShowQuestions(TestCase):
self.assertTemplateUsed(response, 'yaksh/showquestions.html')
self.assertEqual(uploaded_ques, 1)
-
def test_attempt_questions(self):
"""
Check for testing questions