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 1
1
import uuid
2
+ import warnings
2
3
3
4
import pytest
4
5
@@ -333,13 +334,17 @@ def test_project_groups_list(gl, group):
333
334
334
335
def test_project_transfer (gl , project , group ):
335
336
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 )
337
340
338
341
project = gl .projects .get (project .id )
339
342
assert project .namespace ["path" ] == group .full_path
340
343
341
344
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 )
343
348
344
349
project = gl .projects .get (project .id )
345
350
assert project .namespace ["path" ] == gl .user .username
You can’t perform that action at this time.
0 commit comments