2017-04-10 07:04:03 +03:00
|
|
|
# -*- coding: utf-8 -*-
|
2017-04-10 14:26:54 +03:00
|
|
|
# snapshottest: v1 - https://goo.gl/zC4yUc
|
2017-04-10 07:04:03 +03:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from snapshottest import Snapshot
|
|
|
|
|
|
|
|
snapshots = Snapshot()
|
|
|
|
|
2018-07-06 22:09:23 +03:00
|
|
|
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,
|
2017-04-10 07:04:03 +03:00
|
|
|
},
|
2018-07-06 22:09:23 +03:00
|
|
|
"edges": [
|
|
|
|
{"cursor": "YXJyYXljb25uZWN0aW9uOjA=", "node": {"name": "X-Wing"}}
|
|
|
|
],
|
|
|
|
},
|
2017-04-10 07:04:03 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|