summaryrefslogtreecommitdiff
path: root/test/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/conftest.py')
-rw-r--r--test/conftest.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/conftest.py b/test/conftest.py
index 0a3bc806..8f10162b 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -1,13 +1,15 @@
+import sys
+# Force tests to look for resources in the source code tree
+sys.onionshare_dev_mode = True
+
import os
import shutil
-import sys
import tempfile
import pytest
from onionshare import common
-
@pytest.fixture
def temp_dir_1024():
""" Create a temporary directory that has a single file of a