13 lines
250 B
Python
13 lines
250 B
Python
|
import unittest
|
||
|
import os
|
||
|
from dotenv import load_dotenv
|
||
|
|
||
|
load_dotenv()
|
||
|
|
||
|
class ConfigProject(unittest.TestCase):
|
||
|
def test_env_variables(self):
|
||
|
self.assertIsNotNone(os.getenv("DB_PASSWORD"))
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
unittest.main()
|