Skip to content

Commit 199c711

Browse files
committed
Added pytest mock dependency
1 parent 0143e08 commit 199c711

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ python:
88
- pypy
99
cache: pip
1010
install:
11-
- pip install --cache-dir $HOME/.cache/pip pytest-cov coveralls flake8 isort==3.9.6 gevent==1.1b5 six>=1.10.0
11+
- pip install --cache-dir $HOME/.cache/pip pytest-cov pytest-mock coveralls flake8 isort==3.9.6 gevent==1.1b5 six>=1.10.0
1212
- pip install --cache-dir $HOME/.cache/pip pytest>=2.7.3 --upgrade
1313
- pip install -e .
1414
script:

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
keywords='api graphql protocol rest',
2929
packages=find_packages(exclude=['tests', 'tests_py35']),
3030
install_requires=['six>=1.10.0'],
31-
tests_require=['pytest>=2.7.3', 'gevent==1.1rc1', 'six>=1.10.0'],
31+
tests_require=['pytest>=2.7.3', 'gevent==1.1rc1', 'six>=1.10.0', 'pytest-mock'],
3232
extras_require={
3333
'gevent': [
3434
'gevent==1.1rc1'

tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ deps =
66
pytest>=2.7.2
77
gevent==1.1rc1
88
six>=1.10.0
9+
pytest-mock
910
commands =
1011
py{27,33,34,py}: py.test graphql tests {posargs}
1112
py35: py.test graphql tests tests_py35 {posargs}

0 commit comments

Comments
 (0)