From 084f2d482e280c466626f310d24ce03b5149a390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 14 Nov 2019 12:59:50 +0100 Subject: [PATCH] Use pytest-aiohttp in tests Otherwise, we get: E fixture 'aiohttp_client' not found --- setup.py | 1 + tox.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/setup.py b/setup.py index ce7d69c..ebd43b3 100644 --- a/setup.py +++ b/setup.py @@ -59,6 +59,7 @@ def read_file(filename): ] + pytest_runner, tests_require=[ "pytest", + "pytest-aiohttp", "pytest-cov", "pytest-pylint", "selenium", diff --git a/tox.ini b/tox.ini index 9668d37..bb10832 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ envlist = py34, py35, check commands = {envpython} setup.py test deps = pytest + pytest-aiohttp [testenv:check] deps =