Update tests to match new API.
This commit is contained in:
1 parent
c8b3e7a809
commit
3ff7662684
7 files changed
+85
-62
No files matched your search
@@ -4,7 +4,7 @@
|
||||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = py27, py33, py34, pypy, cover, flake8, pylint-errors, pylint-full, verify-manifest
|
||||
envlist = py27, py33, py34, py35, pypy, cover, flake8, pylint-errors, pylint-full, verify-manifest
|
||||
|
||||
[testenv]
|
||||
commands = nosetests
|
||||
@@ -13,6 +13,7 @@ deps =
|
||||
nose
|
||||
requests
|
||||
cryptography
|
||||
future
|
||||
|
||||
[testenv:py27]
|
||||
deps =
|
||||
@@ -25,7 +26,7 @@ deps =
|
||||
mock
|
||||
|
||||
[testenv:cover]
|
||||
basepython = python3.4
|
||||
basepython = python3.5
|
||||
commands =
|
||||
nosetests --with-xunit --with-xcoverage --cover-package=minecraft --nocapture --cover-erase --cover-inclusive --cover-tests --cover-branches --cover-min-percentage=60
|
||||
deps =
|
||||
@@ -43,7 +44,7 @@ deps =
|
||||
coveralls
|
||||
|
||||
[testenv:flake8]
|
||||
basepython = python3.4
|
||||
basepython = python3.5
|
||||
commands =
|
||||
flake8 minecraft tests setup.py start.py bin/generate_travis_yml.py
|
||||
deps =
|
||||
@@ -51,14 +52,14 @@ deps =
|
||||
flake8
|
||||
|
||||
[testenv:pylint-errors]
|
||||
basepython = python3.4
|
||||
basepython = python3.5
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
pylint
|
||||
commands = pylint minecraft -E
|
||||
|
||||
[testenv:pylint-full]
|
||||
basepython = python3.4
|
||||
basepython = python3.5
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
pylint
|
||||
@@ -66,7 +67,7 @@ commands =
|
||||
- pylint minecraft --disable=E
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3.4
|
||||
basepython = python3.5
|
||||
deps =
|
||||
{[testenv:cover]deps}
|
||||
sphinx
|
||||
@@ -75,9 +76,9 @@ commands =
|
||||
{toxinidir}/bin/build_docs
|
||||
|
||||
[testenv:verify-manifest]
|
||||
basepython = python3.4
|
||||
basepython = python3.5
|
||||
deps =
|
||||
check-manifest
|
||||
commands =
|
||||
check-manifest
|
||||
|
||||
|
||||
Reference in new issue
Block a user