mirror of
https://github.com/rjNemo/graphql-file_upload
synced 2026-06-06 02:16:44 +00:00
12 lines
245 B
Python
12 lines
245 B
Python
import pytest
|
|
from ariadne import gql
|
|
from graphql import GraphQLSyntaxError
|
|
|
|
from ..schema import schema
|
|
|
|
|
|
def test_graphql_schema():
|
|
try:
|
|
gql(schema)
|
|
except GraphQLSyntaxError:
|
|
pytest.fail("GraphQL schema are invalid")
|