mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-23 10:03:54 +03:00
034b5385a5
* Add isort and seed-isort-config pre-commit hook * Fix erroneous isort moving comment to the top of file
32 lines
883 B
Python
32 lines
883 B
Python
# -*- coding: utf-8 -*-
|
|
# snapshottest: v1 - https://goo.gl/zC4yUc
|
|
from __future__ import unicode_literals
|
|
|
|
from snapshottest import Snapshot
|
|
|
|
snapshots = Snapshot()
|
|
|
|
snapshots['test_correct_fetch_first_ship_rebels 1'] = {
|
|
'data': {
|
|
'rebels': {
|
|
'name': 'Alliance to Restore the Republic',
|
|
'ships': {
|
|
'pageInfo': {
|
|
'startCursor': 'YXJyYXljb25uZWN0aW9uOjA=',
|
|
'endCursor': 'YXJyYXljb25uZWN0aW9uOjA=',
|
|
'hasNextPage': True,
|
|
'hasPreviousPage': False
|
|
},
|
|
'edges': [
|
|
{
|
|
'cursor': 'YXJyYXljb25uZWN0aW9uOjA=',
|
|
'node': {
|
|
'name': 'X-Wing'
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|