Skip to content

Commit 7a3a22d

Browse files
author
Raphael Krupinski
committed
🐛 Fix package name in test.
1 parent 60970a6 commit 7a3a22d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/process/test_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ def test_schema_array(document: openapi.OpenApiModel) -> None:
3838
)
3939

4040
assert request[MIME_JSON] == python.GenericTypeHint(
41-
module='builtins', name='list', args=(python.TypeHint.from_str('petstore.components.schemas:User'),)
41+
module='builtins', name='list', args=(python.TypeHint.from_str('petstore.components.schemas.User.schema:User'),)
4242
)
4343
assert converter.schema_converter.schema_modules[0].body[0].class_name == 'User'

0 commit comments

Comments
 (0)