summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/pr/pretix/test_startup_pythonpath.patch
blob: 2105d2ac010df675b9f2eea12a419007152ad612 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff --git a/src/tests/test_startup.py b/src/tests/test_startup.py
index 9234696f6..9fe910814 100644
--- a/src/tests/test_startup.py
+++ b/src/tests/test_startup.py
@@ -42,5 +42,6 @@ def test_start_with_redis_down():
             ],
             env={
                 "PRETIX_CONFIG_FILE": f.name,
+                "PYTHONPATH": os.environ.get("PYTHONPATH", ""),
             }
         ) == 0