10000 test_validation: remove unneeded 'specified_rules' · graphql-python/graphql-core@fc1b1f9 · GitHub
[go: up one dir, main page]

Skip to content

Commit fc1b1f9

Browse files
committed
test_validation: remove unneeded 'specified_rules'
Replicates graphql/graphql-js@d4ccf67
1 parent 5df6c9e commit fc1b1f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/validation/test_validation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from graphql.language import parse
22
from graphql.utilities import TypeInfo
3-
from graphql.validation import specified_rules, validate
3+
from graphql.validation import validate
44

55
from .harness import test_schema
66

@@ -63,7 +63,7 @@ def validates_using_a_custom_type_info():
6363
"""
6464
)
6565

66-
errors = validate(test_schema, doc, specified_rules, type_info)
66+
errors = validate(test_schema, doc, None, type_info)
6767

6868
assert [error.message for error in errors] == [
6969
"Cannot query field 'catOrDog' on type 'QueryRoot'."

0 commit comments

Comments
 (0)
0