File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
examples/starwars_relay/tests Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def test_str_schema():
56
56
57
57
type ShipConnection {
58
58
pageInfo: PageInfo!
59
- edges: [ShipEdge]
59
+ edges: [ShipEdge]!
60
60
}
61
61
62
62
type ShipEdge {
Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ class Edge:
28
28
pageinfo_field = fields ['page_info' ]
29
29
30
30
assert isinstance (edge_field , Field )
31
- assert isinstance (edge_field .type , List )
32
- assert edge_field .type .of_type == MyObjectConnection .Edge
31
+ assert isinstance (edge_field .type , NonNull )
32
+ assert isinstance (edge_field .type .of_type , List )
33
+ assert edge_field .type .of_type .of_type == MyObjectConnection .Edge
33
34
34
35
assert isinstance (pageinfo_field , Field )
35
36
assert isinstance (pageinfo_field .type , NonNull )
You can’t perform that action at this time.
0 commit comments