summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorankitjavalkar2017-11-08 16:03:10 +0530
committerankitjavalkar2017-11-08 18:38:54 +0530
commit6fb9f74ee9d2de9a8fb6714907da52a3ed870431 (patch)
tree8d70e9886066984989da694d900624b5fc2f0997
parentb5e481dde6fac34cf1e7e86b3c32d9ca74151fa2 (diff)
downloadonline_test-6fb9f74ee9d2de9a8fb6714907da52a3ed870431.tar.gz
online_test-6fb9f74ee9d2de9a8fb6714907da52a3ed870431.tar.bz2
online_test-6fb9f74ee9d2de9a8fb6714907da52a3ed870431.zip
- Add pytest as a requirement to the requirements file
- Modify image name in tasks.py
-rw-r--r--Dockerfile2
-rw-r--r--requirements/requirements-codeserver.txt1
-rw-r--r--tasks.py2
-rw-r--r--yaksh/models.py2
4 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index f9d4b5f..6a7d894 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,4 +8,4 @@ echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | de
add-apt-repository -y ppa:webupd8team/java && \
apt-get update && \
apt-get install -y oracle-java8-installer && \
-apt-get install -y sudo software-properties-common python net-tools git python3-pip vim libmysqlclient-dev scilab build-essential
+apt-get install -y sudo python net-tools git python3-pip vim libmysqlclient-dev scilab build-essential python3-numpy python3-scipy ipython3 ipython3-notebook python3-pandas python3-nose
diff --git a/requirements/requirements-codeserver.txt b/requirements/requirements-codeserver.txt
index e44f592..a4f419c 100644
--- a/requirements/requirements-codeserver.txt
+++ b/requirements/requirements-codeserver.txt
@@ -1,3 +1,4 @@
+pytest
six
requests
tornado
diff --git a/tasks.py b/tasks.py
index 66ea233..11a207a 100644
--- a/tasks.py
+++ b/tasks.py
@@ -5,7 +5,7 @@ from yaksh.settings import SERVER_POOL_PORT
SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__))
TARGET_CONTAINER_NAME = 'yaksh_code_server'
-SRC_IMAGE_NAME = 'yaksh_code_server_image'
+SRC_IMAGE_NAME = 'fossee/yaksh_codeserver'
def create_dir(path):
if not os.path.exists(path):
diff --git a/yaksh/models.py b/yaksh/models.py
index 4b5d553..d698232 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -82,7 +82,7 @@ test_status = (
('completed', 'Completed'),
)
-FIXTURES_DIR_PATH = os.path.join(settings.BASE_DIR, 'yaksh/fixtures/')
+FIXTURES_DIR_PATH = os.path.join(settings.BASE_DIR, 'yaksh', 'fixtures')
def get_assignment_dir(instance, filename):