tests: remove w.c.s. from test dependencies (#42706)

This commit is contained in:
Lauréline Guérin 2020-05-07 08:47:50 +02:00
parent 7416fa2a9b
commit 8b0e96ef16
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
4 changed files with 282 additions and 397 deletions

6
README
View File

@ -88,12 +88,6 @@ Unit tests are written using py.test, and its pytest-django support library.
DJANGO_SETTINGS_MODULE=combo.settings COMBO_SETTINGS_FILE=tests/settings.py py.test
Tests for w.c.s. cells do require access to the wcsctl script, its location has
to be given in a WCSCTL environment variable, this give a full command line:
WCSCTL=$(pwd)/wcs/wcsctl.py \
DJANGO_SETTINGS_MODULE=combo.settings COMBO_SETTINGS_FILE=tests/settings.py py.test
License
-------

View File

@ -1,6 +0,0 @@
#!/bin/sh -xue
cd $TOX_WORK_DIR
test -d wcs || git clone http://git.entrouvert.org/wcs.git
(cd wcs && git pull)
rm -rf wcs/tests

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,6 @@ envlist = coverage-py3-django111-pylint,py3-django22
[testenv]
usedevelop = True
setenv =
WCS_MANAGE={toxworkdir}/wcs/wcsctl.py
DJANGO_SETTINGS_MODULE=combo.settings
COMBO_SETTINGS_FILE=tests/settings.py
TOX_WORK_DIR={toxworkdir}
@ -32,7 +31,6 @@ deps =
git+http://git.entrouvert.org/debian/django-ckeditor.git
commands =
./getlasso3.sh
./get_wcs.sh
python manage.py compilemessages
py.test {env:COVERAGE:} {posargs: --junitxml=junit-{envname}.xml tests/}
pylint: ./pylint.sh combo/