easy5 pts · first answer countspytestfixtures
What a pytest fixture does
What is the main purpose of a pytest fixture such as the one below?
@pytest.fixture
def api_client():
client = ApiClient(base_url=BASE_URL)
yield client
client.close()Discussion 0
Join free to post in the discussion.