summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/mezzanine/tests-no-git.patch
blob: 8d2292edf3227da58a32d6e4296c7a4826516929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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: {}"
 )