Skip to content

Commit

Permalink
Update conftest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang committed Apr 5, 2023
1 parent dfab0ab commit 2564d9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import time
import random
import string
import logging

import pytest

Expand Down Expand Up @@ -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")

0 comments on commit 2564d9f

Please sign in to comment.