1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 01:38:08 +00:00

Add missing requests package to run tests.

This commit is contained in:
grossmj 2020-10-19 18:40:01 +10:30
parent 5d71ee25ee
commit 993e6a80e4
2 changed files with 3 additions and 1 deletions

View File

@ -4,4 +4,5 @@ pytest==5.4.3
flake8==3.8.3 flake8==3.8.3
pytest-timeout==1.4.1 pytest-timeout==1.4.1
pytest-asyncio==0.12.0 pytest-asyncio==0.12.0
requests==2.22.0
httpx==0.14.1 httpx==0.14.1

View File

@ -40,13 +40,14 @@ class PyTest(TestCommand):
dependencies = open("requirements.txt", "r").read().splitlines() dependencies = open("requirements.txt", "r").read().splitlines()
test_dependencies = open("dev-requirements.txt", "r").read().splitlines()
setup( setup(
name="gns3-server", name="gns3-server",
version=__import__("gns3server").__version__, version=__import__("gns3server").__version__,
url="http://github.com/GNS3/gns3-server", url="http://github.com/GNS3/gns3-server",
license="GNU General Public License v3 (GPLv3)", license="GNU General Public License v3 (GPLv3)",
tests_require=["pytest", "pytest-capturelog", "pytest-asyncio", "httpx"], tests_require=test_dependencies,
cmdclass={"test": PyTest}, cmdclass={"test": PyTest},
description="GNS3 server", description="GNS3 server",
long_description=open("README.rst", "r").read(), long_description=open("README.rst", "r").read(),