diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2021-03-02 11:22:23 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2021-03-02 11:30:48 +0100 |
commit | df3fc6da3a870aff7d5c35dbd9f76ff5bd0b6ab2 (patch) | |
tree | 5eecda8ac882c7360e0919d383af3e69b20eb6c2 | |
parent | 33c67cb1d12ec43346cd6971bfdcf9561e718fa0 (diff) | |
download | semantic-version-df3fc6da3a870aff7d5c35dbd9f76ff5bd0b6ab2.tar.gz |
Replace setup.py test with nose2
We can't use python -m unittest discover directly, as it mistakenly
tries to import the source code of the Django test app without going
through the setup_django module first.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | setup.cfg | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -47,7 +47,7 @@ testall: # DOC: Run tests for the currently installed version test: - python -Wdefault setup.py test + python -Wdefault -m nose2 # DOC: Perform code quality tasks lint: check-manifest flake8 @@ -36,6 +36,7 @@ install_requires = dev = Django>=1.11 # Runners + nose2 tox # Quality check_manifest |