This repository has been archived by the owner on Feb 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jaroslav Sevcik
committed
Jul 13, 2021
1 parent
15e7d1a
commit e3c8f58
Showing
13 changed files
with
566 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# -*- coding: utf-8 -*- | ||
# snapshottest: v1 - https://goo.gl/zC4yUc | ||
from __future__ import unicode_literals | ||
|
||
from snapshottest import Snapshot | ||
|
||
|
||
snapshots = Snapshot() | ||
|
||
snapshots['test_all 1'] = { | ||
'data': { | ||
'allEntities': None | ||
}, | ||
'errors': [ | ||
{ | ||
'locations': [ | ||
{ | ||
'column': 7, | ||
'line': 3 | ||
} | ||
], | ||
'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', | ||
'path': [ | ||
'allEntities' | ||
] | ||
} | ||
] | ||
} | ||
|
||
snapshots['test_empty 1'] = { | ||
'errors': [ | ||
{ | ||
'locations': [ | ||
{ | ||
'column': 7, | ||
'line': 3 | ||
} | ||
], | ||
'message': 'Cannot query field "allEntities" on type "Query". Did you mean "allEntities", "allServices", "allLibraries" or "allRepositories"?' | ||
} | ||
] | ||
} | ||
|
||
snapshots['test_first 1'] = { | ||
'data': { | ||
'allEntities': None | ||
}, | ||
'errors': [ | ||
{ | ||
'locations': [ | ||
{ | ||
'column': 7, | ||
'line': 3 | ||
} | ||
], | ||
'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', | ||
'path': [ | ||
'allEntities' | ||
] | ||
} | ||
] | ||
} | ||
|
||
snapshots['test_last 1'] = { | ||
'errors': [ | ||
{ | ||
'locations': [ | ||
{ | ||
'column': 13, | ||
'line': 7 | ||
} | ||
], | ||
'message': 'Cannot query field "allEnvironments" on type "Entity".' | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.