mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-30 21:09:36 +08:00
relocate functions related to .env
This commit is contained in:
@@ -153,8 +153,8 @@ class TestFileLoader(unittest.TestCase):
|
||||
dot_env_path = os.path.join(
|
||||
os.getcwd(), "tests", "data",
|
||||
)
|
||||
with self.assertRaises(exceptions.FileNotFound):
|
||||
loader.load_dot_env_file(dot_env_path)
|
||||
env_variables_mapping = loader.load_dot_env_file(dot_env_path)
|
||||
self.assertEqual(env_variables_mapping, {})
|
||||
|
||||
def test_locate_file(self):
|
||||
with self.assertRaises(exceptions.FileNotFound):
|
||||
|
||||
Reference in New Issue
Block a user