We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82da97b commit 37b0ccbCopy full SHA for 37b0ccb
tests/test_user_agent.py
@@ -44,10 +44,10 @@ def test_user_agent_with_partner(user_agent):
44
assert 'partner/differenttest' in user_agent.to_string()
45
46
47
-@pytest.fixture(scope="session")
+@pytest.fixture(scope="function")
48
def clear_cicd():
49
# Save and clear env vars.
50
- original_env = os.environ
+ original_env = os.environ.copy()
51
os.environ.clear()
52
53
# Clear cached CICD provider.
0 commit comments