Skip to content

Commit

Permalink
patch env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
brownsugar-bobamilktea committed Aug 3, 2024
1 parent 2f87529 commit 9040155
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
def test_BotInitialiser(monkeypatch):
# | Note: the order of the imports is important since some modules depend on others being patched first

# * PATCH ENVIRONMENT VARIABLES
monkeypatch.setenv("PLACETW_SERVER_ID", "999") # set the environment variable for the placetw server id

# * PATCH SUPABASE MODULE
# patch the create_client command to do nothing
def mock_create_client(url: str, private_key: str):
Expand Down

0 comments on commit 9040155

Please sign in to comment.