diff options
author | ankitjavalkar | 2017-11-08 16:03:10 +0530 |
---|---|---|
committer | ankitjavalkar | 2017-11-08 18:38:54 +0530 |
commit | 6fb9f74ee9d2de9a8fb6714907da52a3ed870431 (patch) | |
tree | 8d70e9886066984989da694d900624b5fc2f0997 | |
parent | b5e481dde6fac34cf1e7e86b3c32d9ca74151fa2 (diff) | |
download | online_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-- | Dockerfile | 2 | ||||
-rw-r--r-- | requirements/requirements-codeserver.txt | 1 | ||||
-rw-r--r-- | tasks.py | 2 | ||||
-rw-r--r-- | yaksh/models.py | 2 |
4 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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): |