Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Na'aman Hirschfeld authored and Na'aman Hirschfeld committed May 20, 2021
1 parent 1c13dfb commit e2bd0ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi_tester/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def resolve_path(self, endpoint_path: str, method: str) -> Tuple[str, ResolverMa

de_parameterized_path, resolved_path = super().resolve_path(endpoint_path=endpoint_path, method=method)
return (
de_parameterized_path[len(spectacular_settings.SCHEMA_PATH_PREFIX) :],
de_parameterized_path[len(spectacular_settings.SCHEMA_PATH_PREFIX or "") :],
resolved_path,
)

Expand Down

0 comments on commit e2bd0ab

Please sign in to comment.