From e3f6b3f70a29693b3579b89e91941bd214c4b146 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 25 Oct 2024 14:32:28 +0200 Subject: [PATCH] pytest: Fix failure with fakeserver and xdist --- src/pretix/testutils/mock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pretix/testutils/mock.py b/src/pretix/testutils/mock.py index 70768c11db..30b9046ab2 100644 --- a/src/pretix/testutils/mock.py +++ b/src/pretix/testutils/mock.py @@ -19,6 +19,7 @@ # You should have received a copy of the GNU Affero General Public License along with this program. If not, see # . # +import os from contextlib import contextmanager import fakeredis