diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-20 00:42:57 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-20 00:42:57 +0000 |
| commit | 152ddf08d62e2efbe595731d16bd7ba0e69fd415 (patch) | |
| tree | d41bacaea8fa664170beecde3385eb6549725e1f /dev-python/aiohttp | |
| parent | 5820d1a9be994beb80f780193206bd4638e67024 (diff) | |
| download | baldeagleos-repo-152ddf08d62e2efbe595731d16bd7ba0e69fd415.tar.gz baldeagleos-repo-152ddf08d62e2efbe595731d16bd7ba0e69fd415.tar.xz baldeagleos-repo-152ddf08d62e2efbe595731d16bd7ba0e69fd415.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/aiohttp')
| -rw-r--r-- | dev-python/aiohttp/aiohttp-3.6.2.ebuild | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/dev-python/aiohttp/aiohttp-3.6.2.ebuild b/dev-python/aiohttp/aiohttp-3.6.2.ebuild index ebb1ceafb89f..26d663b8a5e0 100644 --- a/dev-python/aiohttp/aiohttp-3.6.2.ebuild +++ b/dev-python/aiohttp/aiohttp-3.6.2.ebuild @@ -29,6 +29,7 @@ DEPEND=" dev-python/cython[${PYTHON_USEDEP}] test? ( ${COMMON_DEPEND} + !!dev-python/pytest-aiohttp dev-python/async_generator[${PYTHON_USEDEP}] dev-python/brotlipy[${PYTHON_USEDEP}] dev-python/freezegun[${PYTHON_USEDEP}] @@ -111,6 +112,9 @@ python_prepare_all() { sed -e 's|^def test_aiohttp_plugin_async_fixture(|@pytest.mark.xfail\n\0|' \ -i tests/test_pytest_plugin.py || die + sed -e 's|^def test_static(|@pytest.mark.xfail\n\0|' \ + -i tests/test_route_def.py || die + sed -e 's|^async def test_mixed_middleware(|@pytest.mark.xfail\n\0|' \ -e 's|^async def test_new_style_middleware_class(|@pytest.mark.xfail\n\0|' \ -e 's|^async def test_new_style_middleware_method(|@pytest.mark.xfail\n\0|' \ @@ -121,6 +125,9 @@ python_prepare_all() { sed -e 's|^async def test_client_disconnect(|@pytest.mark.xfail\n\0|' \ -i tests/test_web_protocol.py || die + sed -e 's|^async def test_static_file_range(|@pytest.mark.xfail\n\0|' \ + -i tests/test_web_sendfile_functional.py || die + sed -e 's|^async def test_partially_applied_handler(|@pytest.mark.xfail\n\0|' \ -i tests/test_web_urldispatcher.py || die @@ -134,5 +141,9 @@ python_prepare_all() { } python_test() { - pytest -vv "${S}/tests" || die "Tests fail with ${EPYTHON}" + pushd "${BUILD_DIR}/lib" >/dev/null || die + ln -snf "${S}/tests" tests || die + pytest -vv || die "Tests fail with ${EPYTHON}" + rm -rf .pytest_cache tests || die + popd >/dev/null || die } |
