Skip to content

Commit

Permalink
test - no YAMLCompatibilityLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
commonism committed Aug 10, 2023
1 parent 977c599 commit fd18a6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/schema_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,13 +265,13 @@ class OnDocument(Document):
def parsed(self, ctx):
ctx.document["openapi"] = str(openapi_version)

from aiopenapi3.loader import YAMLCompatibilityLoader
from aiopenapi3.loader import YAML12Loader
from aiopenapi3.loader import FileSystemLoader

OpenAPI.load_file(
"/test.yaml",
with_schema_yaml_tags_invalid,
loader=FileSystemLoader(Path("tests/fixtures"), yload=YAMLCompatibilityLoader),
loader=FileSystemLoader(Path("tests/fixtures"), yload=YAML12Loader),
plugins=[OnDocument()],
)

Expand Down

0 comments on commit fd18a6a

Please sign in to comment.