Skip to content

Commit

Permalink
Remove unused function bodies from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
enoua5 authored May 31, 2024
1 parent d6c58ed commit b34106e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/schema/test_union.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,8 +937,7 @@ def by_id(
@strawberry.type
class Query:
@strawberry.field
def some_type_queries(self, id: strawberry.ID) -> ObjectQueries[SomeType]:
return ObjectQueries(SomeType)
def some_type_queries(self, id: strawberry.ID) -> ObjectQueries[SomeType]: ...

schema = strawberry.Schema(Query)

Expand Down Expand Up @@ -1000,8 +999,7 @@ class Query:
@strawberry.field
def some_type_queries(
self, id: strawberry.ID
) -> UnionObjectQueries[SomeType, OtherType]:
return UnionObjectQueries()
) -> UnionObjectQueries[SomeType, OtherType]: ...

schema = strawberry.Schema(Query)

Expand Down

0 comments on commit b34106e

Please sign in to comment.