24
24
; PASSING ADDITONAL ARGUMENTS TO TEST COMMANDS
25
25
; The {posargs} is tox-specific and passes in any command line args after `--`.
26
26
; For example, given the testing command in *this* file:
27
- ; pytest {posargs} -x plotly/tests/test_core
27
+ ; pytest {posargs} plotly/tests/test_core
28
28
;
29
29
; The following command:
30
30
; tox -- -k 'not nodev'
31
31
;
32
32
; Tells tox to call:
33
- ; pytest -k 'not nodev' -x plotly/tests/test_core
33
+ ; pytest -k 'not nodev' plotly/tests/test_core
34
34
;
35
35
36
36
[tox]
@@ -81,25 +81,25 @@ deps=
81
81
basepython ={env:PLOTLY_TOX_PYTHON_27:}
82
82
commands =
83
83
python --version
84
- pytest {posargs} -x plotly/tests/test_core
84
+ pytest {posargs} plotly/tests/test_core
85
85
86
86
[testenv:py35-core]
87
87
basepython ={env:PLOTLY_TOX_PYTHON_35:}
88
88
commands =
89
89
python --version
90
- pytest {posargs} -x plotly/tests/test_core
90
+ pytest {posargs} plotly/tests/test_core
91
91
92
92
[testenv:py36-core]
93
93
basepython ={env:PLOTLY_TOX_PYTHON_36:}
94
94
commands =
95
95
python --version
96
- pytest {posargs} -x plotly/tests/test_core
96
+ pytest {posargs} plotly/tests/test_core
97
97
98
98
[testenv:py37-core]
99
99
basepython ={env:PLOTLY_TOX_PYTHON_37:}
100
100
commands =
101
101
python --version
102
- pytest {posargs} -x plotly/tests/test_core
102
+ pytest {posargs} plotly/tests/test_core
103
103
pytest {posargs} -x test_init/test_dependencies_not_imported.py
104
104
pytest {posargs} -x test_init/test_lazy_imports.py
105
105
@@ -111,41 +111,41 @@ commands=
111
111
; ; Do some coverage reporting. No need to do this for all environments.
112
112
; mkdir -p {envbindir}/../../coverage-reports/{envname}
113
113
; coverage erase
114
- ; coverage run --include="*/plotly/*" --omit="*/tests*" {envbindir}/nosetests {posargs} -x plotly/tests
114
+ ; coverage run --include="*/plotly/*" --omit="*/tests*" {envbindir}/nosetests {posargs} plotly/tests
115
115
; coverage html -d "{envbindir}/../../coverage-reports/{envname}" --title={envname}
116
116
117
117
[testenv:py27-optional]
118
118
basepython ={env:PLOTLY_TOX_PYTHON_27:}
119
119
commands =
120
120
python --version
121
- pytest {posargs} -x plotly/tests/test_core
122
- pytest {posargs} -x plotly/tests/test_optional
121
+ pytest {posargs} plotly/tests/test_core
122
+ pytest {posargs} plotly/tests/test_optional
123
123
pytest _plotly_utils/tests/
124
124
pytest plotly/tests/test_io
125
125
126
126
[testenv:py35-optional]
127
127
basepython ={env:PLOTLY_TOX_PYTHON_35:}
128
128
commands =
129
129
python --version
130
- pytest {posargs} -x plotly/tests/test_core
131
- pytest {posargs} -x plotly/tests/test_optional
130
+ pytest {posargs} plotly/tests/test_core
131
+ pytest {posargs} plotly/tests/test_optional
132
132
pytest _plotly_utils/tests/
133
133
pytest plotly/tests/test_io
134
134
135
135
[testenv:py36-optional]
136
136
basepython ={env:PLOTLY_TOX_PYTHON_36:}
137
137
commands =
138
138
python --version
139
- pytest {posargs} -x plotly/tests/test_core
140
- pytest {posargs} -x plotly/tests/test_optional
139
+ pytest {posargs} plotly/tests/test_core
140
+ pytest {posargs} plotly/tests/test_optional
141
141
pytest _plotly_utils/tests/
142
142
pytest plotly/tests/test_io
143
143
144
144
[testenv:py37-optional]
145
145
basepython ={env:PLOTLY_TOX_PYTHON_37:}
146
146
commands =
147
147
python --version
148
- pytest {posargs} -x plotly/tests/test_core
149
- pytest {posargs} -x plotly/tests/test_optional
148
+ pytest {posargs} plotly/tests/test_core
149
+ pytest {posargs} plotly/tests/test_optional
150
150
pytest _plotly_utils/tests/
151
151
pytest plotly/tests/test_io
0 commit comments