Add unit testing for the new close_fd functions using mocks
Should get them to complete coverage. Also move our test dependencies into the standard 'test' extra and install mock (and futures) only on Python 2.7.
Showing
... | ... | @@ -12,23 +12,8 @@ greenlet>=0.4.13 ; platform_python_implementation == "CPython" |
pylint>=1.8.0 | ||
# pyyaml is included here and doesn't install on travis with 3.7a3 | ||
prospector[with_pyroma] ; python_version < '3.7' | ||
# We don't run coverage on Windows, and pypy can't build it there | ||
# anyway (coveralls -> cryptopgraphy -> openssl) | ||
coverage>=4.0 ; sys_platform != 'win32' | ||
coveralls>=1.0 ; sys_platform != 'win32' | ||
# See version requirements in setup.py | ||
cffi >= 1.11.5 ; platform_python_implementation == "CPython" | ||
futures | ||
dnspython | ||
idna | ||
# Makes tests faster | ||
# Fails to build on PyPy on Windows. | ||
psutil ; platform_python_implementation == "CPython" or sys_platform != "win32" | ||
# benchmarks use this | ||
perf | ||
# examples, called from tests, use this | ||
requests | ||
# Events | ||
zope.event | ||
zope.interface |
... | ... | @@ -4,5 +4,4 @@ |
restview | ||
-r ci-requirements.txt | ||
-r rtd-requirements.txt | ||
-e . | ||
-e .[test,events,dnspython,doc] |
Please register or sign in to comment