def test_ConfigRequest_subtree_raises(self): cr = ConfigRequest() with pytest.raises(ValueError): cr.subtree = 'children'
def test_ConfigRequest_subtree(self, value): cr = ConfigRequest() cr.subtree = value assert cr.subtree == value