[go: up one dir, main page]

Skip to content

Commit

Permalink
rename class Telegram to TestEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Yavorsky committed May 4, 2024
1 parent 9decb30 commit 4d36838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_dotenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self, val: str) -> None:


@improve(envfile="tests/.env", override=True, frozen=True)
class Telegram(MapEnv):
class TestEnv(MapEnv):
TOKEN: str
FLOAT: float
SET: set[int]
Expand All @@ -24,7 +24,7 @@ class Telegram(MapEnv):

class TestDotenv(unittest.TestCase):
def setUp(self) -> None:
self.tg = Telegram()
self.tg = TestEnv()

def test_str(self) -> None:
self.assertIsInstance(self.tg.TOKEN, str, "tg.TOKEN is not str")
Expand Down

0 comments on commit 4d36838

Please sign in to comment.