summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprathamesh2017-01-13 16:48:16 +0530
committerprathamesh2017-01-13 16:48:16 +0530
commit5ee9b4647c7f1ba9803a95ad3871f6acfc92c1c0 (patch)
treee50a2442e8df8e28a36bc5655743869515b11357
parentfe6c5c3b561c514fa328807fb8a571a620e438cf (diff)
downloadonline_test-5ee9b4647c7f1ba9803a95ad3871f6acfc92c1c0.tar.gz
online_test-5ee9b4647c7f1ba9803a95ad3871f6acfc92c1c0.tar.bz2
online_test-5ee9b4647c7f1ba9803a95ad3871f6acfc92c1c0.zip
removed unwanted css. Modified test.
-rw-r--r--yaksh/evaluator_tests/test_python_evaluation.py10
-rw-r--r--yaksh/static/yaksh/css/dashboard.css19
2 files changed, 5 insertions, 24 deletions
diff --git a/yaksh/evaluator_tests/test_python_evaluation.py b/yaksh/evaluator_tests/test_python_evaluation.py
index c58d7f1..43dfe6b 100644
--- a/yaksh/evaluator_tests/test_python_evaluation.py
+++ b/yaksh/evaluator_tests/test_python_evaluation.py
@@ -76,13 +76,13 @@ class PythonAssertionEvaluationTestCases(EvaluatorBaseTest):
# Then
self.assertFalse(result.get('success'))
- self.assert_correct_output('AssertionError in: assert(add(1,2)==3)',
+ self.assert_correct_output('AssertionError in:\n assert(add(1,2)==3)',
result.get('error')
)
- self.assert_correct_output('AssertionError in: assert(add(-1,2)==1)',
+ self.assert_correct_output('AssertionError in:\n assert(add(-1,2)==1)',
result.get('error')
)
- self.assert_correct_output('AssertionError in: assert(add(-1,-2)==-3)',
+ self.assert_correct_output('AssertionError in:\n assert(add(-1,-2)==-3)',
result.get('error')
)
@@ -110,10 +110,10 @@ class PythonAssertionEvaluationTestCases(EvaluatorBaseTest):
# Then
self.assertFalse(result.get('success'))
self.assertEqual(result.get('weight'), 2.0)
- self.assert_correct_output('AssertionError in: assert(add(-1,2)==1)',
+ self.assert_correct_output('AssertionError in:\n assert(add(-1,2)==1)',
result.get('error')
)
- self.assert_correct_output('AssertionError in: assert(add(-1,-2)==-3)',
+ self.assert_correct_output('AssertionError in:\n assert(add(-1,-2)==-3)',
result.get('error')
)
diff --git a/yaksh/static/yaksh/css/dashboard.css b/yaksh/static/yaksh/css/dashboard.css
index 3049ef0..28040c4 100644
--- a/yaksh/static/yaksh/css/dashboard.css
+++ b/yaksh/static/yaksh/css/dashboard.css
@@ -84,25 +84,6 @@ body {
border-bottom: 1px solid #eee;
}
-
-/*
- * Placeholder dashboard ideas
- */
-
-.placeholders {
- margin-bottom: 30px;
- text-align: center;
-}
-.placeholders h4 {
- margin-bottom: 0;
-}
-.placeholder {
- margin-bottom: 20px;
-}
-.placeholder img {
- display: inline-block;
- border-radius: 50%;
-}
.sidebar-right {
float: right;
}