diff --git a/dev-requirements.txt b/dev-requirements.txt index e0694a0b..fc048967 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -4,4 +4,5 @@ pytest==5.4.3 flake8==3.8.3 pytest-timeout==1.4.1 pytest-asyncio==0.12.0 +requests==2.22.0 httpx==0.14.1 diff --git a/setup.py b/setup.py index ad43127b..49553bf3 100644 --- a/setup.py +++ b/setup.py @@ -40,13 +40,14 @@ class PyTest(TestCommand): dependencies = open("requirements.txt", "r").read().splitlines() +test_dependencies = open("dev-requirements.txt", "r").read().splitlines() setup( name="gns3-server", version=__import__("gns3server").__version__, url="http://github.com/GNS3/gns3-server", license="GNU General Public License v3 (GPLv3)", - tests_require=["pytest", "pytest-capturelog", "pytest-asyncio", "httpx"], + tests_require=test_dependencies, cmdclass={"test": PyTest}, description="GNS3 server", long_description=open("README.rst", "r").read(),