# pylint: disable=redefined-outer-name,unused-argument import os import pytest from falcon import testing from dapd_exporter_api.api_entry import setup_api @pytest.fixture(scope='session') def client() -> testing.TestClient: assert os.getenv('IS_INTEGRATION_TESTING', 'false').lower() == 'true' app = setup_api() yield testing.TestClient(app)