tests: remove w.c.s. from test dependencies (#42706)
This commit is contained in:
parent
7416fa2a9b
commit
8b0e96ef16
6
README
6
README
|
@ -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
|
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
|
License
|
||||||
-------
|
-------
|
||||||
|
|
|
@ -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
2
tox.ini
2
tox.ini
|
@ -5,7 +5,6 @@ envlist = coverage-py3-django111-pylint,py3-django22
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
setenv =
|
setenv =
|
||||||
WCS_MANAGE={toxworkdir}/wcs/wcsctl.py
|
|
||||||
DJANGO_SETTINGS_MODULE=combo.settings
|
DJANGO_SETTINGS_MODULE=combo.settings
|
||||||
COMBO_SETTINGS_FILE=tests/settings.py
|
COMBO_SETTINGS_FILE=tests/settings.py
|
||||||
TOX_WORK_DIR={toxworkdir}
|
TOX_WORK_DIR={toxworkdir}
|
||||||
|
@ -32,7 +31,6 @@ deps =
|
||||||
git+http://git.entrouvert.org/debian/django-ckeditor.git
|
git+http://git.entrouvert.org/debian/django-ckeditor.git
|
||||||
commands =
|
commands =
|
||||||
./getlasso3.sh
|
./getlasso3.sh
|
||||||
./get_wcs.sh
|
|
||||||
python manage.py compilemessages
|
python manage.py compilemessages
|
||||||
py.test {env:COVERAGE:} {posargs: --junitxml=junit-{envname}.xml tests/}
|
py.test {env:COVERAGE:} {posargs: --junitxml=junit-{envname}.xml tests/}
|
||||||
pylint: ./pylint.sh combo/
|
pylint: ./pylint.sh combo/
|
||||||
|
|
Loading…
Reference in New Issue