Skip to content

Commit 39e81d1

Browse files
authored
Merge pull request #357 from willfurnass/tox-escape-whitespace
tox.ini: ensure pytest does not bail due to spaces in path to mumot pkg dir not being escaped
2 parents 0e2c8b4 + 7a27aa7 commit 39e81d1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ commands =
1717
jupyter nbextension enable --py --sys-prefix widgetsnbextension
1818

1919
; Run unit tests and generate code coverage report
20-
pytest --verbose --cov-config=tox.ini --cov={envsitepackagesdir}/mumot tests
20+
pytest --verbose --cov-config=tox.ini --cov="{envsitepackagesdir}/mumot" tests
2121

2222
; Ensure the user manual Notebook runs *without errors* (do not check for regressions yet)
2323
; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
@@ -26,7 +26,7 @@ commands =
2626

2727
; Ensure test Notebooks runs *without errors* (do not check for regressions yet)
2828
; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
29-
pytest --verbose --maxfail=1 --nbval-lax --cov-config=tox.ini --cov={envsitepackagesdir}/mumot --cov-append \
29+
pytest --verbose --maxfail=1 --nbval-lax --cov-config=tox.ini --cov="{envsitepackagesdir}/mumot" --cov-append \
3030
TestNotebooks/MuMoTtest.ipynb \
3131
TestNotebooks/MiscTests/MuMoTtest_GreekLetters.ipynb \
3232
TestNotebooks/MiscTests/MuMoTtest_MultiController.ipynb \
@@ -40,7 +40,7 @@ commands =
4040

4141
; Ensure the user manual and regression test Notebooks do not show regressions (TODO; leave commented)
4242
; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
43-
; pytest --verbose --maxfail=1 --nbval --cov-config=tox.ini --cov={envsitepackagesdir}/mumot --cov-append TestNotebooks/MuMoTtest.ipynb
43+
; pytest --verbose --maxfail=1 --nbval --cov-config=tox.ini --cov="{envsitepackagesdir}/mumot" --cov-append TestNotebooks/MuMoTtest.ipynb
4444

4545
; Check user manual does not contain output cells
4646
bash -c 'test $(nbshow --outputs docs/MuMoTuserManual.ipynb | wc -c) -eq 0'

0 commit comments

Comments
 (0)