From bf1986b58ce0e5619a2af221d5897f5f7fc708f0 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Sun, 18 Sep 2016 10:21:18 +0530 Subject: Remove commented code --- yaksh/tests/load_test.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'yaksh/tests/load_test.py') 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/') -- cgit