File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 5353 - name : Set up Python
5454 uses : actions/setup-python@v2
5555 with :
56- python-version : " 3.10"
56+ # python-version: "3.10"
57+ python-version : " 3.9"
5758 - name : Install dependencies
5859 run : pip install tox pytest-github-actions-annotate-failures
5960 - name : Run tests
Original file line number Diff line number Diff line change @@ -140,13 +140,21 @@ def test_project_housekeeping(project):
140140
141141
142142def test_project_labels (project ):
143+ print ("JLV: project.id:" , project .id )
144+ print ("JLV: project.labels:" , project .labels )
143145 label = project .labels .create ({"name" : "label" , "color" : "#778899" })
146+ print ("JLV: type(label):" , type (label ))
147+ print ("JLV: label.manager._computed_path:" , label .manager ._computed_path )
148+ print ("JLV: label.manager._parent:" , label .manager ._parent )
144149 labels = project .labels .list ()
145150 assert len (labels ) == 1
146151
147152 label = project .labels .get ("label" )
148153 assert label == labels [0 ]
149154
155+ print ("JLV: type(label):" , type (label ))
156+ print ("JLV: label.manager._computed_path:" , label .manager ._computed_path )
157+ print ("JLV: label.manager._parent:" , label .manager ._parent )
150158 label .new_name = "labelupdated"
151159 label .save ()
152160 assert label .name == "labelupdated"
@@ -160,6 +168,8 @@ def test_project_labels(project):
160168 label .delete ()
161169 assert len (project .labels .list ()) == 0
162170
171+ assert "1" is None
172+
163173
164174def test_project_label_promotion (gl , group ):
165175 """
You can’t perform that action at this time.
0 commit comments