mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-16 19:12:21 +03:00
chore: clarify test title and assertion
This commit is contained in:
parent
e4cb412767
commit
29eaea4c6b
|
@ -35,7 +35,7 @@ class Mutations(graphene.ObjectType):
|
||||||
set_datetime = SetDatetime.Field()
|
set_datetime = SetDatetime.Field()
|
||||||
|
|
||||||
|
|
||||||
def test_print_schema():
|
def test_schema_printable_with_default_datetime_value():
|
||||||
schema = graphene.Schema(query=Query, mutation=Mutations)
|
schema = graphene.Schema(query=Query, mutation=Mutations)
|
||||||
schema_str = print_schema(schema.graphql_schema)
|
schema_str = print_schema(schema.graphql_schema)
|
||||||
assert schema_str, "non-empty schema printed"
|
assert schema_str, "empty schema printed"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user