Files
nixpkgs/pkgs/development/python-modules/mezzanine/tests-no-git.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

18 lines
574 B
Diff

diff --git a/tests/test_core.py b/tests/test_core.py
index 40cd39fe..57abbec0 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -47,11 +47,7 @@ from mezzanine.utils.sites import current_site_id, override_current_site_id
from mezzanine.utils.tests import TestCase
from mezzanine.utils.urls import admin_url
-BRANCH_NAME = (
- subprocess.check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"])
- .decode()
- .strip()
-)
+BRANCH_NAME = "stable"
VERSION_WARN = (
"Unpinned or pre-release dependencies detected in Mezzanine's requirements: {}"
)