Mock is part of stdlib in Python 3
This commit is contained in:
parent
e8429b07bc
commit
6b04456c55
|
@ -101,7 +101,7 @@ export PYLAST_API_SECRET=TODO_ENTER_YOURS_HERE
|
||||||
|
|
||||||
To run all unit and integration tests:
|
To run all unit and integration tests:
|
||||||
```sh
|
```sh
|
||||||
pip install pytest flaky mock
|
pip install pytest flaky
|
||||||
pytest
|
pytest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
10
setup.py
10
setup.py
|
@ -20,15 +20,7 @@ setup(
|
||||||
author="Amr Hassan <amr.hassan@gmail.com> and Contributors",
|
author="Amr Hassan <amr.hassan@gmail.com> and Contributors",
|
||||||
author_email="amr.hassan@gmail.com",
|
author_email="amr.hassan@gmail.com",
|
||||||
url="https://github.com/pylast/pylast",
|
url="https://github.com/pylast/pylast",
|
||||||
tests_require=[
|
tests_require=["coverage", "flaky", "pycodestyle", "pyflakes", "pytest", "pyyaml"],
|
||||||
"coverage",
|
|
||||||
"flaky",
|
|
||||||
"mock",
|
|
||||||
"pycodestyle",
|
|
||||||
"pyflakes",
|
|
||||||
"pytest",
|
|
||||||
"pyyaml",
|
|
||||||
],
|
|
||||||
python_requires=">=3.5",
|
python_requires=">=3.5",
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 5 - Production/Stable",
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import mock
|
from unittest import mock
|
||||||
|
|
||||||
import pylast
|
import pylast
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue