diff --git a/.ci/scripts/schema.py b/.ci/scripts/schema.py index 9f56caa..91191c5 100644 --- a/.ci/scripts/schema.py +++ b/.ci/scripts/schema.py @@ -7,6 +7,7 @@ But some pulp paths start with curly brackets e.g. {artifact_href} This script modifies drf-spectacular schema validation to accept slashes and curly brackets. """ + import json from drf_spectacular.validation import JSON_SCHEMA_SPEC_PATH diff --git a/pulp_ostree/tests/functional/constants.py b/pulp_ostree/tests/functional/constants.py index 37527b5..fc204ed 100755 --- a/pulp_ostree/tests/functional/constants.py +++ b/pulp_ostree/tests/functional/constants.py @@ -1,4 +1,5 @@ """Constants for Pulp Ostree plugin tests.""" + from urllib.parse import urljoin from pulp_smash.constants import PULP_FIXTURES_BASE_URL diff --git a/pulp_ostree/tests/functional/utils.py b/pulp_ostree/tests/functional/utils.py index 0e06b8d..543ea93 100755 --- a/pulp_ostree/tests/functional/utils.py +++ b/pulp_ostree/tests/functional/utils.py @@ -1,4 +1,5 @@ """Utilities for tests for the ostree plugin.""" + import subprocess from functools import partial