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:
parent
5d71ee25ee
commit
993e6a80e4
@ -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
|
||||||
|
3
setup.py
3
setup.py
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user