We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e9250 commit 473d10eCopy full SHA for 473d10e
tests/test_generated_code.py
@@ -25,19 +25,6 @@ def test_get_auth_token_without_env(model_data_with_cleanup):
25
)
26
27
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
41
@pytest.mark.parametrize(
42
"library",
43
[
0 commit comments