👷 Switching from nose to pytest

This commit is contained in:
Gina Häußge committed 2019-02-15 18:52:44 +01:00
1 parent 4be18c2668
commit 1f4bfa854b
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ python:
install:
- pip install -e .[develop]
script:
- test -n "$RUN_FLAKE8" || nosetests --with-doctest
- test -n "$RUN_FLAKE8" || pytest src tests --doctest-modules
- test -z "$RUN_FLAKE8" || flake8 --ignore=D,E,W,F401 src/ tests setup.py
sudo: false
git:
+1 -1
View File
@@ -79,7 +79,7 @@ EXTRA_REQUIRES = dict(
develop=[
# Testing dependencies
"mock>=2.0.0,<3",
"nose>=1.3.7,<1.4",
"pytest>=4.2.1,<5.0",
"ddt",
# linter
+2 -2
View File
@@ -5,9 +5,9 @@ envlist = py27,py37,flake8
passenv = APPDATA
deps =
mock>=2.0.0,<3
nose>=1.3.7,<1.4
pytest>=4.2.1,<5.0
ddt
commands = nosetests --with-doctest []
commands = pytest src tests --doctest-modules []
[testenv:flake8]
basepython = python3