summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorankitjavalkar2016-09-18 10:21:18 +0530
committerankitjavalkar2016-09-21 17:51:23 +0530
commitbf1986b58ce0e5619a2af221d5897f5f7fc708f0 (patch)
tree974f512a4a72d97274ea19a086fe2bae98b39f16 /yaksh
parent953f856edc18ed22c72c56b58171e2ce5bc450e5 (diff)
downloadonline_test-bf1986b58ce0e5619a2af221d5897f5f7fc708f0.tar.gz
online_test-bf1986b58ce0e5619a2af221d5897f5f7fc708f0.tar.bz2
online_test-bf1986b58ce0e5619a2af221d5897f5f7fc708f0.zip
Remove commented code
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/tests/load_test.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/yaksh/tests/load_test.py b/yaksh/tests/load_test.py
index fd90b11..05fd02f 100644
--- a/yaksh/tests/load_test.py
+++ b/yaksh/tests/load_test.py
@@ -20,10 +20,10 @@ from yaksh.management.commands.create_demo_course import create_demo_course
CUR_DIR = os.path.dirname(os.path.abspath(__file__))
-class MySeleniumTests(StaticLiveServerTestCase):
+class YakshSeleniumTests(StaticLiveServerTestCase):
@classmethod
def setUpClass(cls):
- super(MySeleniumTests, cls).setUpClass()
+ super(YakshSeleniumTests, cls).setUpClass()
# setup a demo code server
settings.code_evaluators['python']['standardtestcase'] = \
"yaksh.python_assertion_evaluator.PythonAssertionEvaluator"
@@ -41,17 +41,17 @@ class MySeleniumTests(StaticLiveServerTestCase):
@classmethod
def tearDownClass(cls):
- # User.objects.all().delete()
- # Question.objects.all().delete()
- # Quiz.objects.all().delete()
- # Course.objects.all().delete()
+ User.objects.all().delete()
+ Question.objects.all().delete()
+ Quiz.objects.all().delete()
+ Course.objects.all().delete()
settings.SERVER_POOL_PORT = 53579
cls.code_server_pool.stop()
cls.code_server_thread.join()
- super(MySeleniumTests, cls).tearDownClass()
+ super(YakshSeleniumTests, cls).tearDownClass()
def test_load(self):
url = '%s%s' % (self.live_server_url, '/exam/login/')