@@ -373,6 +373,47 @@ async def location_data02_no_pagination():
373373
374374@pytest .fixture
375375async def location_data01 ():
376+ data = {
377+ "node" : {
378+ "__typename" : "BuiltinLocation" ,
379+ "id" : "llllllll-llll-llll-llll-llllllllllll" ,
380+ "display_label" : "dfw1" ,
381+ "name" : {
382+ "value" : "DFW" ,
383+ },
384+ "description" : {
385+ "value" : None ,
386+ },
387+ "type" : {
388+ "value" : "SITE" ,
389+ },
390+ "primary_tag" : {
391+ "node" : {
392+ "id" : "rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr" ,
393+ "display_label" : "red" ,
394+ "__typename" : "BuiltinTag" ,
395+ },
396+ },
397+ "tags" : {
398+ "count" : 1 ,
399+ "edges" : [
400+ {
401+ "node" : {
402+ "id" : "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb" ,
403+ "display_label" : "blue" ,
404+ "__typename" : "BuiltinTag" ,
405+ },
406+ }
407+ ],
408+ },
409+ }
410+ }
411+
412+ return data
413+
414+
415+ @pytest .fixture
416+ async def location_data01_property ():
376417 data = {
377418 "node" : {
378419 "__typename" : "BuiltinLocation" ,
@@ -438,6 +479,47 @@ async def location_data01():
438479
439480@pytest .fixture
440481async def location_data02 ():
482+ data = {
483+ "node" : {
484+ "__typename" : "BuiltinLocation" ,
485+ "id" : "llllllll-llll-llll-llll-llllllllllll" ,
486+ "display_label" : "dfw1" ,
487+ "name" : {
488+ "value" : "dfw1" ,
489+ },
490+ "description" : {
491+ "value" : None ,
492+ },
493+ "type" : {
494+ "value" : "SITE" ,
495+ },
496+ "primary_tag" : {
497+ "node" : {
498+ "id" : "rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr" ,
499+ "display_label" : "red" ,
500+ "__typename" : "BuiltinTag" ,
501+ },
502+ },
503+ "tags" : {
504+ "count" : 1 ,
505+ "edges" : [
506+ {
507+ "node" : {
508+ "id" : "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb" ,
509+ "display_label" : "blue" ,
510+ "__typename" : "BuiltinTag" ,
511+ },
512+ }
513+ ],
514+ },
515+ }
516+ }
517+
518+ return data
519+
520+
521+ @pytest .fixture
522+ async def location_data02_property ():
441523 data = {
442524 "node" : {
443525 "__typename" : "BuiltinLocation" ,
@@ -517,6 +599,28 @@ async def location_data02():
517599 return data
518600
519601
602+ @pytest .fixture
603+ async def rfile_userdata01 ():
604+ return {
605+ "name" : {"value" : "rfile01" },
606+ "template_path" : {"value" : "mytemplate.j2" },
607+ "query" : {"id" : "qqqqqqqq" },
608+ "repository" : {"id" : "rrrrrrrr" },
609+ "tags" : [{"id" : "t1t1t1t1" }, "t2t2t2t2" ],
610+ }
611+
612+
613+ @pytest .fixture
614+ async def rfile_userdata01_property ():
615+ return {
616+ "name" : {"value" : "rfile01" , "is_protected" : True , "source" : "ffffffff" },
617+ "template_path" : {"value" : "mytemplate.j2" },
618+ "query" : {"id" : "qqqqqqqq" , "source" : "ffffffff" , "owner" : "ffffffff" , "is_protected" : True },
619+ "repository" : {"id" : "rrrrrrrr" , "source" : "ffffffff" , "owner" : "ffffffff" },
620+ "tags" : [{"id" : "t1t1t1t1" }, "t2t2t2t2" ],
621+ }
622+
623+
520624@pytest .fixture
521625async def tag_schema () -> NodeSchemaAPI :
522626 data = {
0 commit comments