DEVX-1: chore: re-trigger CI after Vikunja task title update
Post-merge / detect-type (push) Successful in 9s
Post-merge / validate-commit-msg (push) Successful in 8s
Post-merge / vikunja (push) Successful in 38s
Post-merge / sync-wiki (push) Successful in 46s
Post-merge / configure-repo (push) Successful in 9s
Post-merge / release (push) Failing after 1m12s
Post-merge / badges (push) Successful in 37s

This commit was merged in pull request #6.
This commit is contained in:
2026-06-22 16:37:52 +00:00
parent 1a80967967
commit a7372a9169
+11 -3
View File
@@ -12,7 +12,6 @@ from devx.config import (
TASK_ID_RE,
TASK_PREFIX,
VIKUNJA_API_URL,
VIKUNJA_PROJECT_ID,
)
@@ -21,8 +20,17 @@ class TestConfigConstants:
assert "api/v1" in GITEA_API_URL
assert "api/v1" in VIKUNJA_API_URL
def test_project_ids(self) -> None:
assert VIKUNJA_PROJECT_ID == 6
def test_project_ids(self, monkeypatch: object) -> None:
"""VIKUNJA_PROJECT_ID defaults to 6 when DEVX_VIKUNJA_PROJECT_ID is not set."""
monkeypatch.delenv("DEVX_VIKUNJA_PROJECT_ID", raising=False)
import importlib
import devx.config as cfg
importlib.reload(cfg)
assert cfg.VIKUNJA_PROJECT_ID == 6
# Restore module state
importlib.reload(cfg)
def test_timeouts(self) -> None:
assert DEFAULT_TIMEOUT == 30