diff --git a/tests/conftest.py b/tests/conftest.py index ccc5a55f..8d0559c7 100755 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,6 +2,7 @@ import time import random import string +import logging import pytest @@ -38,4 +39,6 @@ def get_random_string(self, length: int) -> str: class DeathByTest(BaseTest): - RUCAPTCHA_KEY = os.environ["DEATHBYCAPTCHA_KEY"] + RUCAPTCHA_KEY = os.getenv("DEATHBYCAPTCHA_KEY") + if not RUCAPTCHA_KEY: + logging.warning("U do not set `DEATHBYCAPTCHA_KEY` ENV")