summaryrefslogtreecommitdiff
path: root/tests/chutney/common.py
blob: bf0d1791d15faeca2244cec0c6e38b8b2a8b4c88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import os

# Domain that we attempt to DNS lookup
TEST_DOMAIN = "example.com"

# Name of the environment variable we set to signal that the test is running
# inside of shadow.
RUNNING_IN_SHADOW_ENV = "RUNNING_IN_SHADOW"


def running_in_shadow() -> bool:
    return bool(os.environ.get(RUNNING_IN_SHADOW_ENV))