Skip to content

Commit 221612f

Browse files
committed
Added pytest validator tests
1 parent 45e42fe commit 221612f

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,4 +219,5 @@ workflows:
219219
- "python-3.6-optional"
220220
- "python-3.7-optional"
221221
- "python-2.7-plot_ly"
222+
- "python-3.4-plot_ly"
222223
- "python-3.7-plot_ly"

tox.ini

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ deps=
5858
six==1.10.0
5959
pytz==2016.10
6060
retrying==1.3.3
61+
pytest==3.5.1
6162
optional: numpy==1.11.3
6263
optional: ipython[all]==5.1.0
6364
optional: jupyter==1.0.0
@@ -73,30 +74,35 @@ basepython={env:PLOTLY_TOX_PYTHON_27:}
7374
commands=
7475
python --version
7576
nosetests {posargs} -x plotly/tests/test_core
77+
pytest _plotly_utils/tests/
7678

7779
[testenv:py34-core]
7880
basepython={env:PLOTLY_TOX_PYTHON_34:}
7981
commands=
8082
python --version
8183
nosetests {posargs} -x plotly/tests/test_core
84+
pytest _plotly_utils/tests/
8285

8386
[testenv:py35-core]
8487
basepython={env:PLOTLY_TOX_PYTHON_35:}
8588
commands=
8689
python --version
8790
nosetests {posargs} -x plotly/tests/test_core
91+
pytest _plotly_utils/tests/
8892

8993
[testenv:py36-core]
9094
basepython={env:PLOTLY_TOX_PYTHON_36:}
9195
commands=
9296
python --version
9397
nosetests {posargs} -x plotly/tests/test_core
98+
pytest _plotly_utils/tests/
9499

95100
[testenv:py37-core]
96101
basepython={env:PLOTLY_TOX_PYTHON_37:}
97102
commands=
98103
python --version
99104
nosetests {posargs} -x plotly/tests/test_core
105+
pytest _plotly_utils/tests/
100106

101107
; OPTIONAL ENVIRONMENTS
102108
[testenv:py27-optional]
@@ -115,20 +121,31 @@ commands=
115121
python --version
116122
nosetests {posargs} -x plotly/tests/test_core
117123
nosetests {posargs} -x plotly/tests/test_optional
124+
pytest _plotly_utils/tests/
118125

119126
[testenv:py35-optional]
120127
basepython={env:PLOTLY_TOX_PYTHON_35:}
121128
commands=
122129
python --version
123130
nosetests {posargs} -x plotly/tests/test_core
124131
nosetests {posargs} -x plotly/tests/test_optional
132+
pytest _plotly_utils/tests/
125133

126134
[testenv:py36-optional]
127135
basepython={env:PLOTLY_TOX_PYTHON_36:}
128136
commands=
129137
python --version
130138
nosetests {posargs} -x plotly/tests/test_core
131139
nosetests {posargs} -x plotly/tests/test_optional
140+
pytest _plotly_utils/tests/
141+
142+
[testenv:py37-optional]
143+
basepython={env:PLOTLY_TOX_PYTHON_37:}
144+
commands=
145+
python --version
146+
nosetests {posargs} -x plotly/tests/test_core
147+
nosetests {posargs} -x plotly/tests/test_optional
148+
pytest _plotly_utils/tests/
132149

133150
; Plot.ly environments
134151
[testenv:py27-plot_ly]

0 commit comments

Comments
 (0)