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 44from graphql .error import GraphQLSyntaxError
55from graphql .language import ast
66from graphql .language .parser import Loc
7+ from graphql .utils .undefined import UndefinedDefaultValue
78
89
910def create_loc_fn (body ):
@@ -364,7 +365,7 @@ def test_parses_simple_field_with_arg():
364365 ),
365366 loc = loc (28 , 35 )
366367 ),
367- default_value = None ,
368+ default_value = UndefinedDefaultValue ,
368369 directives = [],
369370 loc = loc (22 , 35 )
370371 )
@@ -490,7 +491,7 @@ def test_parses_simple_field_with_list_arg():
490491 ),
491492 loc = loc (30 , 38 )
492493 ),
493- default_value = None ,
494+ default_value = UndefinedDefaultValue ,
494495 directives = [],
495496 loc = loc (22 , 38 )
496497 )
@@ -549,7 +550,7 @@ def test_parses_simple_field_with_two_args():
549550 ),
550551 loc = loc (30 , 37 )
551552 ),
552- default_value = None ,
553+ default_value = UndefinedDefaultValue ,
553554 directives = [],
554555 loc = loc (22 , 37 )
555556 ),
@@ -565,7 +566,7 @@ def test_parses_simple_field_with_two_args():
565566 ),
566567 loc = loc (47 , 50 )
567568 ),
568- default_value = None ,
569+ default_value = UndefinedDefaultValue ,
569570 directives = [],
570571 loc = loc (39 , 50 )
571572 )
@@ -702,7 +703,7 @@ def test_parses_simple_input_object():
702703 ),
703704 loc = loc (24 , 30 )
704705 ),
705- default_value = None ,
706+ default_value = UndefinedDefaultValue ,
706707 directives = [],
707708 loc = loc (17 , 30 )
708709 )
You can’t perform that action at this time.
0 commit comments