44
55_BRANCH_PASSWORD = "SecurePass1!"
66
7- # ---------------------------------------------------------------------------
8- # Fixtures
9- # ---------------------------------------------------------------------------
10-
117
128@pytest .fixture (scope = "module" )
139def org (make_org ):
@@ -49,11 +45,6 @@ def backup_id(client, branch_id):
4945 return data ["backup_id" ]
5046
5147
52- # ---------------------------------------------------------------------------
53- # Branch Clone
54- # ---------------------------------------------------------------------------
55-
56-
5748def test_branch_clone (client , org , project , branch_id , make_branch ):
5849 """Clone a branch and verify the clone reaches ACTIVE_HEALTHY."""
5950 clone_id = make_branch (
@@ -67,21 +58,11 @@ def test_branch_clone(client, org, project, branch_id, make_branch):
6758 assert r .json ()["status" ] == "ACTIVE_HEALTHY"
6859
6960
70- # ---------------------------------------------------------------------------
71- # Manual Backup
72- # ---------------------------------------------------------------------------
73-
74-
7561def test_manual_backup (backup_id ):
7662 """Trigger an on-demand backup for the branch and verify a backup_id is returned."""
7763 assert backup_id , "backup_id fixture must return a valid id"
7864
7965
80- # ---------------------------------------------------------------------------
81- # Restore a new branch from backup
82- # ---------------------------------------------------------------------------
83-
84-
8566def test_restore_branch_from_backup (client , org , project , backup_id , make_branch ):
8667 """Create a new branch from the manual backup and verify it reaches ACTIVE_HEALTHY."""
8768 restored_id = make_branch (
0 commit comments