Add a dependency on Requests

And on Responses for mocking Requests calls in tests.
This commit is contained in:
Stein Magnus Jodal 2015-07-23 15:24:28 +02:00
parent f373d071ea
commit 16f80ccb8d
4 changed files with 9 additions and 1 deletions

View File

@ -10,6 +10,7 @@ flake8-import-order
# Mock dependencies in tests # Mock dependencies in tests
mock mock
responses
# Test runners # Test runners
pytest pytest

View File

@ -7,6 +7,11 @@ This changelog is used to track all major changes to Mopidy.
v1.1.0 (UNRELEASED) v1.1.0 (UNRELEASED)
=================== ===================
Dependencies
------------
- Mopidy now requires Requests.
Core API Core API
-------- --------

View File

@ -24,8 +24,9 @@ setup(
zip_safe=False, zip_safe=False,
include_package_data=True, include_package_data=True,
install_requires=[ install_requires=[
'setuptools',
'Pykka >= 1.1', 'Pykka >= 1.1',
'requests',
'setuptools',
'tornado >= 2.3', 'tornado >= 2.3',
], ],
extras_require={'http': []}, extras_require={'http': []},

View File

@ -15,6 +15,7 @@ deps =
pytest pytest
pytest-cov pytest-cov
pytest-xdist pytest-xdist
responses
[testenv:py27-tornado23] [testenv:py27-tornado23]
commands = py.test tests/http commands = py.test tests/http