File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 4
4
from graphql .error import GraphQLSyntaxError
5
5
from graphql .language import ast
6
6
from graphql .language .parser import Loc
7
+ from graphql .utils .undefined import UndefinedDefaultValue
7
8
8
9
9
10
def create_loc_fn (body ):
@@ -364,7 +365,7 @@ def test_parses_simple_field_with_arg():
364
365
),
365
366
loc = loc (28 , 35 )
366
367
),
367
- default_value = None ,
368
+ default_value = UndefinedDefaultValue ,
368
369
directives = [],
369
370
loc = loc (22 , 35 )
370
371
)
@@ -490,7 +491,7 @@ def test_parses_simple_field_with_list_arg():
490
491
),
491
492
loc = loc (30 , 38 )
492
493
),
493
- default_value = None ,
494
+ default_value = UndefinedDefaultValue ,
494
495
directives = [],
495
496
loc = loc (22 , 38 )
496
497
)
@@ -549,7 +550,7 @@ def test_parses_simple_field_with_two_args():
549
550
),
550
551
loc = loc (30 , 37 )
551
552
),
552
- default_value = None ,
553
+ default_value = UndefinedDefaultValue ,
553
554
directives = [],
554
555
loc = loc (22 , 37 )
555
556
),
@@ -565,7 +566,7 @@ def test_parses_simple_field_with_two_args():
565
566
),
566
567
loc = loc (47 , 50 )
567
568
),
568
- default_value = None ,
569
+ default_value = UndefinedDefaultValue ,
569
570
directives = [],
570
571
loc = loc (39 , 50 )
571
572
)
@@ -702,7 +703,7 @@ def test_parses_simple_input_object():
702
703
),
703
704
loc = loc (24 , 30 )
704
705
),
705
- default_value = None ,
706
+ default_value = UndefinedDefaultValue ,
706
707
directives = [],
707
708
loc = loc (17 , 30 )
708
709
)
You can’t perform that action at this time.
0 commit comments