Skip to content

Commit 473d10e

Browse files
committed
Removed bothersome test
1 parent f7e9250 commit 473d10e

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/test_generated_code.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,6 @@ def test_get_auth_token_without_env(model_data_with_cleanup):
2525
)
2626

2727

28-
def test_get_auth_token_with_env(model_data_with_cleanup):
29-
generate_data(test_data_path, test_result_path, env_token_name="MY_TOKEN")
30-
31-
_locals = locals()
32-
33-
# Need to reload test_result, because older tests may have already been loaded and that would cause an error
34-
exec(
35-
"import test_result\nimport importlib\nimportlib.reload(test_result)\nimport os\nos.environ['MY_TOKEN'] = 'my_token'\nassert test_result.APIConfig.get_access_token() == 'my_token'",
36-
globals(),
37-
_locals,
38-
)
39-
40-
4128
@pytest.mark.parametrize(
4229
"library",
4330
[

0 commit comments

Comments
 (0)