Skip to content

Commit

Permalink
tests: Correct way to remove accidental env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Jan 5, 2025
1 parent fcb6104 commit 5a6def7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions locust/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
import os

# Clean environment from stuff you might have lying around
del os.environ["LOCUST_WEB_LOGIN"]
os.environ.pop("LOCUST_WEB_LOGIN", None)
# Ensure locust-cloud is not loaded during tests
del os.environ["PGHOST"]
os.environ.pop("PGHOST", None)

0 comments on commit 5a6def7

Please sign in to comment.