File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
integration/tests/posit/connect Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ def test_tag_children(self):
6363 tagC = self .client .tags .create (name = "tagC_children" , parent = tagA )
6464 tagD = self .client .tags .create (name = "tagD_children" , parent = tagC )
6565
66- assert tagA .children_tags .find () == [tagC ]
67- assert tagB .children_tags .find () == []
68- assert tagC .children_tags .find () == [tagD ]
66+ assert tagA .child_tags .find () == [tagC ]
67+ assert tagB .child_tags .find () == []
68+ assert tagC .child_tags .find () == [tagD ]
6969
7070 # cleanup
7171 tagA .destroy ()
Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ def child_tags(self) -> ChildTags:
5555 client = posit.connect.Client(...)
5656
5757 mytag = client.tags.find(id="TAG_ID_HERE")
58- children = mytag.children_tags() .find()
58+ children = mytag.child_tags .find()
5959 ```
6060 """
61- return ChildrenTags (self ._ctx , self ._path , parent_tag = self )
61+ return ChildTags (self ._ctx , self ._path , parent_tag = self )
6262
6363 @property
6464 def descendant_tags (self ) -> DescendantTags :
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ def test_children(self):
179179
180180 # invoke
181181 tag = client .tags .get ("3" )
182- tag_children = tag .children_tags .find ()
182+ tag_children = tag .child_tags .find ()
183183
184184 # assert
185185 assert mock_get_3_tag .call_count == 1
You can’t perform that action at this time.
0 commit comments