Skip to content

Commit

Permalink
test_validation: various grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Jan 15, 2022
1 parent b969a9d commit f0a968d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/type/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ def rejects_with_relevant_locations_for_a_non_output_type():


def describe_type_system_objects_can_only_implement_unique_interfaces():
def rejects_an_object_implementing_a_non_type_values():
def rejects_an_object_implementing_a_non_type_value():
query_type = GraphQLObjectType(
"BadObject",
{"f": GraphQLField(GraphQLString)},
Expand Down Expand Up @@ -2671,7 +2671,7 @@ def rejects_a_circular_interface_implementation():


def describe_assert_valid_schema():
def do_not_throw_on_valid_schemas():
def does_not_throw_on_valid_schemas():
schema = build_schema(
(
"""
Expand All @@ -2683,7 +2683,7 @@ def do_not_throw_on_valid_schemas():
)
assert_valid_schema(schema)

def include_multiple_errors_into_a_description():
def combines_multiple_errors():
schema = build_schema("type SomeType")
with raises(TypeError) as exc_info:
assert_valid_schema(schema)
Expand Down

0 comments on commit f0a968d

Please sign in to comment.