Skip to content

Commit e5af2a7

Browse files
chore(tests): use method projects.transfer()
When doing the functional tests use the new function `projects.transfer` instead of the deprecated function `projects.transfer_project()`
1 parent cbbe7ce commit e5af2a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/functional/api/test_projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,13 +333,13 @@ def test_project_groups_list(gl, group):
333333

334334
def test_project_transfer(gl, project, group):
335335
assert project.namespace["path"] != group.full_path
336-
project.transfer_project(group.id)
336+
project.transfer(group.id)
337337

338338
project = gl.projects.get(project.id)
339339
assert project.namespace["path"] == group.full_path
340340

341341
gl.auth()
342-
project.transfer_project(gl.user.username)
342+
project.transfer(gl.user.username)
343343

344344
project = gl.projects.get(project.id)
345345
assert project.namespace["path"] == gl.user.username

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy