mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-01 10:53:13 +03:00
Formatting
This commit is contained in:
parent
dc6042c2bd
commit
c7bb00dd1b
|
@ -147,6 +147,10 @@ def test_filter_enum_field_schema_type(schema):
|
|||
"reporter_AChoice_In": "[ReporterAChoice]",
|
||||
}
|
||||
|
||||
all_articles_filters = schema_str.split(" allArticles(")[1].split("): ArticleTypeConnection\n")[0].split(", ")
|
||||
all_articles_filters = (
|
||||
schema_str.split(" allArticles(")[1]
|
||||
.split("): ArticleTypeConnection\n")[0]
|
||||
.split(", ")
|
||||
)
|
||||
for filter_field, gql_type in filters.items():
|
||||
assert "{}: {}".format(filter_field, gql_type) in all_articles_filters
|
||||
|
|
Loading…
Reference in New Issue
Block a user