diff --git a/pyproject.toml b/pyproject.toml index 90aa5cd0..aa23e4aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,6 +91,10 @@ testpaths = [ "tests/test_resources.py", "tests/branches", ] +markers = [ + "branch: branch lifecycle tests", + "backup: clone and restore tests", +] [tool.ruff] target-version = 'py313' diff --git a/tests/branches/test_basic.py b/tests/branches/test_basic.py index 41dbab9a..4661b322 100644 --- a/tests/branches/test_basic.py +++ b/tests/branches/test_basic.py @@ -4,8 +4,6 @@ import pytest from conftest import BRANCH_TIMEOUT_SEC, wait_for_status -pytestmark = pytest.mark.branch - _BRANCH_PASSWORD = "SecurePass1!" _BRANCH_NAME = "test-branch" _BRANCH_RENAMED = "test-branch-renamed" diff --git a/tests/branches/test_clone_restore.py b/tests/branches/test_clone_restore.py index 2f06a71f..185a8732 100644 --- a/tests/branches/test_clone_restore.py +++ b/tests/branches/test_clone_restore.py @@ -3,8 +3,6 @@ import psycopg import pytest -pytestmark = pytest.mark.backup - _BRANCH_PASSWORD = "SecurePass1!" diff --git a/tests/branches/test_start_stop.py b/tests/branches/test_start_stop.py index fa23934b..44b46b24 100644 --- a/tests/branches/test_start_stop.py +++ b/tests/branches/test_start_stop.py @@ -1,8 +1,6 @@ import pytest from conftest import BRANCH_TIMEOUT_SEC, wait_for_status -pytestmark = pytest.mark.branch - @pytest.fixture(scope="module") def org(make_org): diff --git a/tests/test_backup_schedules.py b/tests/test_backup_schedules.py index 0a47d8bb..44ae48b7 100644 --- a/tests/test_backup_schedules.py +++ b/tests/test_backup_schedules.py @@ -3,8 +3,6 @@ import pytest -pytestmark = pytest.mark.backup - _state: dict = {} _BACKUP_POLL_SEC = 15