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

Commit e2bd0ab

Browse files
Na'aman HirschfeldNa'aman Hirschfeld
Na'aman Hirschfeld
authored and
Na'aman Hirschfeld
committed
fixed tests
1 parent 1c13dfb commit e2bd0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_tester/loaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def resolve_path(self, endpoint_path: str, method: str) -> Tuple[str, ResolverMa
210210

211211
de_parameterized_path, resolved_path = super().resolve_path(endpoint_path=endpoint_path, method=method)
212212
return (
213-
de_parameterized_path[len(spectacular_settings.SCHEMA_PATH_PREFIX) :],
213+
de_parameterized_path[len(spectacular_settings.SCHEMA_PATH_PREFIX or "") :],
214214
resolved_path,
215215
)
216216

0 commit comments

Comments
 (0)