From a12c8757e6d2b910fbe0478a2a5a304c78bbe063 Mon Sep 17 00:00:00 2001 From: KonstantAnxiety Date: Thu, 12 Oct 2023 16:58:03 +0300 Subject: [PATCH] Install with dev --- docker_build/bake_ci.hcl | 2 +- lib/dl_core/dl_core_tests/db/conftest.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/docker_build/bake_ci.hcl b/docker_build/bake_ci.hcl index d6362524a..b9011d181 100644 --- a/docker_build/bake_ci.hcl +++ b/docker_build/bake_ci.hcl @@ -36,7 +36,7 @@ target "ci_with_src" { "COPY --from=bake_ctx_dl_src_terrarium / /src/", "COPY --from=bake_ctx_dl_src_ci / /src/", "RUN . /venv/bin/activate && pip install -e /src/terrarium/bi_ci", - "RUN . /venv/bin/activate && cd /src/metapkg/ && poetry install --no-root --without=dev --with=ci", + "RUN . /venv/bin/activate && cd /src/metapkg/ && poetry install --no-root --with=dev --with=ci", # todo: include stubs into the metapkg pyproject.toml "RUN . /venv/bin/activate && pip install -r /src/ci/requirements_types.txt" ]) diff --git a/lib/dl_core/dl_core_tests/db/conftest.py b/lib/dl_core/dl_core_tests/db/conftest.py index fe3c51871..d5edf9a01 100644 --- a/lib/dl_core/dl_core_tests/db/conftest.py +++ b/lib/dl_core/dl_core_tests/db/conftest.py @@ -2,8 +2,5 @@ from dl_core_tests.db.config import CORE_TEST_CONFIG -pytest_plugins = ("aiohttp.pytest_plugin",) # and it, in turn, includes 'pytest_asyncio.plugin' - - def pytest_configure(config): # noqa initialize_core_test(pytest_config=config, core_test_config=CORE_TEST_CONFIG)