"""conftest. This file gets picked up when running py.test tests: http://pytest.org/latest/writing_plugins.html#conftest """ from os import getenv import pytest from tests.testutils.api_client import APIClient @pytest.fixture def api_client(): """Create an APIClient object with QA URL and session token.""" return APIClient(getenv('BASE_QA_URL'))