Skip to content

Commit

Permalink
Not running integration test when secret is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
qqaatw committed Jan 19, 2024
1 parent e53cff1 commit d32829b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import os

# For integration tests
TEST_EMAIL = os.environ["TEST_EMAIL"] if "TEST_EMAIL" in os.environ else None
TEST_PASSWORD = os.environ["TEST_PASSWORD"] if "TEST_PASSWORD" in os.environ else None
TEST_EMAIL = os.environ["TEST_EMAIL"] if os.environ.get("TEST_EMAIL", "") else None
TEST_PASSWORD = (
os.environ["TEST_PASSWORD"] if os.environ.get("TEST_PASSWORD", "") else None
)
TEST_DEVICE_AC = (
os.environ["TEST_DEVICE_AC"] if "TEST_DEVICE_AC" in os.environ else None
os.environ["TEST_DEVICE_AC"] if os.environ.get("TEST_DEVICE_AC", "") else None
)
TEST_DEVICE_DH = (
os.environ["TEST_DEVICE_DH"] if "TEST_DEVICE_DH" in os.environ else None
os.environ["TEST_DEVICE_DH"] if os.environ.get("TEST_DEVICE_DH", "") else None
)


MOCK_GATEWAY_MAC = "10416149025290813292"

# AC
Expand Down

0 comments on commit d32829b

Please sign in to comment.