|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +# snapshottest: v1 - https://goo.gl/zC4yUc |
| 3 | +from __future__ import unicode_literals |
| 4 | + |
| 5 | +from snapshottest import Snapshot |
| 6 | + |
| 7 | + |
| 8 | +snapshots = Snapshot() |
| 9 | + |
| 10 | +snapshots['test_all 1'] = { |
| 11 | + 'data': { |
| 12 | + 'allEntities': None |
| 13 | + }, |
| 14 | + 'errors': [ |
| 15 | + { |
| 16 | + 'locations': [ |
| 17 | + { |
| 18 | + 'column': 7, |
| 19 | + 'line': 3 |
| 20 | + } |
| 21 | + ], |
| 22 | + 'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', |
| 23 | + 'path': [ |
| 24 | + 'allEntities' |
| 25 | + ] |
| 26 | + } |
| 27 | + ] |
| 28 | +} |
| 29 | + |
| 30 | +snapshots['test_empty 1'] = { |
| 31 | + 'data': { |
| 32 | + 'allEntities': None |
| 33 | + }, |
| 34 | + 'errors': [ |
| 35 | + { |
| 36 | + 'locations': [ |
| 37 | + { |
| 38 | + 'column': 7, |
| 39 | + 'line': 3 |
| 40 | + } |
| 41 | + ], |
| 42 | + 'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', |
| 43 | + 'path': [ |
| 44 | + 'allEntities' |
| 45 | + ] |
| 46 | + } |
| 47 | + ] |
| 48 | +} |
| 49 | + |
| 50 | +snapshots['test_first 1'] = { |
| 51 | + 'data': { |
| 52 | + 'allEntities': None |
| 53 | + }, |
| 54 | + 'errors': [ |
| 55 | + { |
| 56 | + 'locations': [ |
| 57 | + { |
| 58 | + 'column': 7, |
| 59 | + 'line': 3 |
| 60 | + } |
| 61 | + ], |
| 62 | + 'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', |
| 63 | + 'path': [ |
| 64 | + 'allEntities' |
| 65 | + ] |
| 66 | + } |
| 67 | + ] |
| 68 | +} |
| 69 | + |
| 70 | +snapshots['test_first_after 1'] = { |
| 71 | + 'data': { |
| 72 | + 'allEntities': None |
| 73 | + }, |
| 74 | + 'errors': [ |
| 75 | + { |
| 76 | + 'locations': [ |
| 77 | + { |
| 78 | + 'column': 7, |
| 79 | + 'line': 3 |
| 80 | + } |
| 81 | + ], |
| 82 | + 'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', |
| 83 | + 'path': [ |
| 84 | + 'allEntities' |
| 85 | + ] |
| 86 | + } |
| 87 | + ] |
| 88 | +} |
| 89 | + |
| 90 | +snapshots['test_last 1'] = { |
| 91 | + 'data': { |
| 92 | + 'allEntities': None |
| 93 | + }, |
| 94 | + 'errors': [ |
| 95 | + { |
| 96 | + 'locations': [ |
| 97 | + { |
| 98 | + 'column': 7, |
| 99 | + 'line': 3 |
| 100 | + } |
| 101 | + ], |
| 102 | + 'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', |
| 103 | + 'path': [ |
| 104 | + 'allEntities' |
| 105 | + ] |
| 106 | + } |
| 107 | + ] |
| 108 | +} |
| 109 | + |
| 110 | +snapshots['test_last_before 1'] = { |
| 111 | + 'data': { |
| 112 | + 'allEntities': None |
| 113 | + }, |
| 114 | + 'errors': [ |
| 115 | + { |
| 116 | + 'locations': [ |
| 117 | + { |
| 118 | + 'column': 7, |
| 119 | + 'line': 3 |
| 120 | + } |
| 121 | + ], |
| 122 | + 'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', |
| 123 | + 'path': [ |
| 124 | + 'allEntities' |
| 125 | + ] |
| 126 | + } |
| 127 | + ] |
| 128 | +} |
| 129 | + |
| 130 | +snapshots['test_with_group 1'] = { |
| 131 | + 'data': { |
| 132 | + 'allEntities': None |
| 133 | + }, |
| 134 | + 'errors': [ |
| 135 | + { |
| 136 | + 'locations': [ |
| 137 | + { |
| 138 | + 'column': 7, |
| 139 | + 'line': 3 |
| 140 | + } |
| 141 | + ], |
| 142 | + 'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', |
| 143 | + 'path': [ |
| 144 | + 'allEntities' |
| 145 | + ] |
| 146 | + } |
| 147 | + ] |
| 148 | +} |
| 149 | + |
| 150 | +snapshots['test_with_library 1'] = { |
| 151 | + 'data': { |
| 152 | + 'allEntities': None |
| 153 | + }, |
| 154 | + 'errors': [ |
| 155 | + { |
| 156 | + 'locations': [ |
| 157 | + { |
| 158 | + 'column': 7, |
| 159 | + 'line': 3 |
| 160 | + } |
| 161 | + ], |
| 162 | + 'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', |
| 163 | + 'path': [ |
| 164 | + 'allEntities' |
| 165 | + ] |
| 166 | + } |
| 167 | + ] |
| 168 | +} |
| 169 | + |
| 170 | +snapshots['test_with_links 1'] = { |
| 171 | + 'data': { |
| 172 | + 'allEntities': None |
| 173 | + }, |
| 174 | + 'errors': [ |
| 175 | + { |
| 176 | + 'locations': [ |
| 177 | + { |
| 178 | + 'column': 7, |
| 179 | + 'line': 3 |
| 180 | + } |
| 181 | + ], |
| 182 | + 'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', |
| 183 | + 'path': [ |
| 184 | + 'allEntities' |
| 185 | + ] |
| 186 | + } |
| 187 | + ] |
| 188 | +} |
| 189 | + |
| 190 | +snapshots['test_with_service 1'] = { |
| 191 | + 'data': { |
| 192 | + 'allEntities': None |
| 193 | + }, |
| 194 | + 'errors': [ |
| 195 | + { |
| 196 | + 'locations': [ |
| 197 | + { |
| 198 | + 'column': 7, |
| 199 | + 'line': 3 |
| 200 | + } |
| 201 | + ], |
| 202 | + 'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', |
| 203 | + 'path': [ |
| 204 | + 'allEntities' |
| 205 | + ] |
| 206 | + } |
| 207 | + ] |
| 208 | +} |
| 209 | + |
| 210 | +snapshots['test_with_source 1'] = { |
| 211 | + 'data': { |
| 212 | + 'allEntities': None |
| 213 | + }, |
| 214 | + 'errors': [ |
| 215 | + { |
| 216 | + 'locations': [ |
| 217 | + { |
| 218 | + 'column': 7, |
| 219 | + 'line': 3 |
| 220 | + } |
| 221 | + ], |
| 222 | + 'message': 'Resolved value from the connection field have to be iterable or instance of EntityConnection. Received "None"', |
| 223 | + 'path': [ |
| 224 | + 'allEntities' |
| 225 | + ] |
| 226 | + } |
| 227 | + ] |
| 228 | +} |
0 commit comments