diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10de925..e4e679e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,9 @@ name: CI on: [push, pull_request] +env: + FORCE_COLOR: 1 + jobs: package: runs-on: ubuntu-latest diff --git a/setup.cfg b/setup.cfg index 1fb4dd1..4984932 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,6 +3,7 @@ profile = black [tool:pytest] addopts = -vvv --cov-report=term-missing --cov=elastic_transport +asyncio_default_fixture_loop_scope = "function" [coverage:report] omit = diff --git a/tests/conftest.py b/tests/conftest.py index 129e1ac..cec6eb4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -67,7 +67,6 @@ async def perform_request(self, *args, **kwargs): @pytest.fixture(scope="session", params=[True, False]) -@pytest.mark.usefixtures("httpbin_node_config") def httpbin_cert_fingerprint(request) -> str: """Gets the SHA256 fingerprint of the certificate for 'httpbin.org'""" sock = socket.create_connection(("httpbin.org", 443))