Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Explicitly convert test media_root(tmpdir) to str

Maciej Korycinski8517c8761fd6
diff --git a/tests/conftest.py b/tests/conftest.py
index cabd7f5282..4a821854ee 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -972,4 +972,4 @@ def digital_content(category, media_root):
@pytest.fixture()
def media_root(tmpdir, settings):
- settings.MEDIA_ROOT = tmpdir.mkdir("media")
+ settings.MEDIA_ROOT = str(tmpdir.mkdir("media"))