File tree 5 files changed +9
-11
lines changed
5 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ python:
6
6
- " 3.6"
7
7
- " 3.7"
8
8
install :
9
- - pip install python-coveralls coverage
9
+ - pip install python-coveralls
10
10
- pip install -r requirements.txt
11
11
- pip install -r requirements_diagrams.txt
12
12
- pip install -r requirements_test.txt
13
- script : nosetests --with-coverage --with-doctest
13
+ script : pytest --doctest-modules --cov transitions/
14
14
after_success :
15
15
- coveralls --config_file .coveragerc
16
16
addons :
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ install:
20
20
build : off
21
21
22
22
test_script :
23
- - " %PYTHON%\\ python.exe -m nose --with-coverage --with-doctest "
23
+ - " %PYTHON%\\ python.exe -m pytest --doctest-modules --cov transitions/ "
24
24
25
25
# after_test:
26
26
# # This step builds your wheels.
@@ -36,4 +36,4 @@ test_script:
36
36
# on_success:
37
37
# You can use this step to upload your artifacts to a public website.
38
38
# See Appveyor's documentation for more details. Or you can simply
39
- # access your wheels from the Appveyor "artifacts" tab for your build.
39
+ # access your wheels from the Appveyor "artifacts" tab for your build.
Original file line number Diff line number Diff line change 1
- nose
1
+ pytest
2
+ pytest-cov
2
3
mock
3
4
dill
4
5
graphviz
Original file line number Diff line number Diff line change 18
18
19
19
extra_setuptools_args = {}
20
20
if 'setuptools' in sys .modules :
21
- extras_require ['test' ] = ['nose>=0.10.1' ]
22
- tests_require .append ('nose' )
23
- extra_setuptools_args = dict (
24
- test_suite = 'nose.collector' ,
25
- )
21
+ extras_require ['test' ] = ['pytest' ]
22
+ tests_require .append ('pytest' )
26
23
27
24
setup (
28
25
name = "transitions" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ skip_missing_interpreters = True
6
6
deps = -rrequirements.txt
7
7
-rrequirements_diagrams.txt
8
8
-rrequirements_test.txt
9
- commands = nosetests
9
+ commands = pytest
10
10
11
11
[testenv:codestyle]
12
12
deps = pycodestyle
You can’t perform that action at this time.
0 commit comments