Skip to content

Commit 9feb464

Browse files
committed
fix: Move get_token to local import
1 parent 52b6c0f commit 9feb464

File tree

1 file changed

+2
-1
lines changed
  • libraries/cloudharness-utils/cloudharness_utils/testing

1 file changed

+2
-1
lines changed

libraries/cloudharness-utils/cloudharness_utils/testing/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from ruamel.yaml import YAML
55

66
from cloudharness_model.models import ApiTestsConfig, ApplicationHarnessConfig
7-
from cloudharness.auth import get_token
87

98
yaml = YAML(typ='safe')
109

@@ -23,6 +22,8 @@ def get_schemathesis_command(api_filename, app_config: ApplicationHarnessConfig,
2322

2423

2524
def _get_auth_headers(app_env: dict):
25+
from cloudharness.auth import get_token
26+
2627
"""Return schemathesis CLI flags for auth."""
2728
if not app_env:
2829
return []

0 commit comments

Comments
 (0)