File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11import uuid
2+ import warnings
23
34import pytest
45
@@ -333,13 +334,17 @@ def test_project_groups_list(gl, group):
333334
334335def test_project_transfer (gl , project , group ):
335336 assert project .namespace ["path" ] != group .full_path
336- project .transfer_project (group .id )
337+ with warnings .catch_warnings ():
338+ warnings .simplefilter ("ignore" )
339+ project .transfer_project (group .id )
337340
338341 project = gl .projects .get (project .id )
339342 assert project .namespace ["path" ] == group .full_path
340343
341344 gl .auth ()
342- project .transfer_project (gl .user .username )
345+ with warnings .catch_warnings ():
346+ warnings .simplefilter ("ignore" )
347+ project .transfer_project (gl .user .username )
343348
344349 project = gl .projects .get (project .id )
345350 assert project .namespace ["path" ] == gl .user .username
You can’t perform that action at this time.
0 commit comments