mirror of
https://github.com/graphql-python/graphene.git
synced 2025-09-21 11:22:33 +03:00
Run format
This commit is contained in:
parent
357c340080
commit
bddff047c4
|
@ -7,52 +7,31 @@ from snapshottest import Snapshot
|
||||||
|
|
||||||
snapshots = Snapshot()
|
snapshots = Snapshot()
|
||||||
|
|
||||||
snapshots['test_correctly_fetches_id_name_rebels 1'] = {
|
snapshots["test_correctly_fetches_id_name_rebels 1"] = {
|
||||||
'data': {
|
"data": {
|
||||||
'rebels': {
|
"rebels": {"id": "RmFjdGlvbjox", "name": "Alliance to Restore the Republic"}
|
||||||
'id': 'RmFjdGlvbjox',
|
|
||||||
'name': 'Alliance to Restore the Republic'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
snapshots['test_correctly_refetches_rebels 1'] = {
|
snapshots["test_correctly_refetches_rebels 1"] = {
|
||||||
'data': {
|
"data": {"node": {"id": "RmFjdGlvbjox", "name": "Alliance to Restore the Republic"}}
|
||||||
'node': {
|
|
||||||
'id': 'RmFjdGlvbjox',
|
|
||||||
'name': 'Alliance to Restore the Republic'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
snapshots['test_correctly_fetches_id_name_empire 1'] = {
|
snapshots["test_correctly_fetches_id_name_empire 1"] = {
|
||||||
'data': {
|
"data": {"empire": {"id": "RmFjdGlvbjoy", "name": "Galactic Empire"}}
|
||||||
'empire': {
|
|
||||||
'id': 'RmFjdGlvbjoy',
|
|
||||||
'name': 'Galactic Empire'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
snapshots['test_correctly_refetches_empire 1'] = {
|
snapshots["test_correctly_refetches_empire 1"] = {
|
||||||
'data': {
|
"data": {"node": {"id": "RmFjdGlvbjoy", "name": "Galactic Empire"}}
|
||||||
'node': {
|
|
||||||
'id': 'RmFjdGlvbjoy',
|
|
||||||
'name': 'Galactic Empire'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
snapshots['test_correctly_refetches_xwing 1'] = {
|
snapshots["test_correctly_refetches_xwing 1"] = {
|
||||||
'data': {
|
"data": {"node": {"id": "U2hpcDox", "name": "X-Wing"}}
|
||||||
'node': {
|
|
||||||
'id': 'U2hpcDox',
|
|
||||||
'name': 'X-Wing'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
snapshots['test_str_schema 1'] = '''"""A faction in the Star Wars saga"""
|
snapshots[
|
||||||
|
"test_str_schema 1"
|
||||||
|
] = '''"""A faction in the Star Wars saga"""
|
||||||
type Faction implements Node {
|
type Faction implements Node {
|
||||||
"""The ID of the object"""
|
"""The ID of the object"""
|
||||||
id: ID!
|
id: ID!
|
||||||
|
|
Loading…
Reference in New Issue
Block a user