Skip to content

Commit c51d0f5

Browse files
committed
remove comments in tests/branches
1 parent ff0c7fd commit c51d0f5

2 files changed

Lines changed: 0 additions & 29 deletions

File tree

tests/branches/test_basic.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ def _check_postgres_connection(db_info: dict, password: str) -> None:
4545
raise AssertionError(f"Could not connect to postgres at {host}:{port}: {last_exc}") from last_exc
4646

4747

48-
# ---------------------------------------------------------------------------
49-
# Fixtures
50-
# ---------------------------------------------------------------------------
51-
52-
5348
@pytest.fixture(scope="module")
5449
def org(make_org):
5550
return make_org("test-org-branches")
@@ -83,11 +78,6 @@ def branch_id(client, make_branch, org, project):
8378
return bid
8479

8580

86-
# ---------------------------------------------------------------------------
87-
# Tests
88-
# ---------------------------------------------------------------------------
89-
90-
9181
def test_branch_list_empty(client, org, project):
9282
r = client.get(f"organizations/{org}/projects/{project}/branches/")
9383
assert r.status_code == 200

tests/branches/test_clone_restore.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
_BRANCH_PASSWORD = "SecurePass1!"
66

7-
# ---------------------------------------------------------------------------
8-
# Fixtures
9-
# ---------------------------------------------------------------------------
10-
117

128
@pytest.fixture(scope="module")
139
def 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-
5748
def 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-
7561
def 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-
8566
def 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

Comments
 (0)