Index: sitescripts/extensions/test/utils.py |
diff --git a/sitescripts/extensions/test/conftest.py b/sitescripts/extensions/test/utils.py |
similarity index 97% |
rename from sitescripts/extensions/test/conftest.py |
rename to sitescripts/extensions/test/utils.py |
index f673937bc919b02b20b38b352ceaf9561cafb1de..80844bfd18fecfcc4893d1b8935f211614427dfe 100644 |
--- a/sitescripts/extensions/test/conftest.py |
+++ b/sitescripts/extensions/test/utils.py |
@@ -26,7 +26,7 @@ import py |
@pytest.fixture(scope='session') |
def tests_dir(): |
"""Directory that contains this tests and the data files it uses.""" |
- return py.path.local(__file__).dirpath() |
+ return py.path.local('sitescripts/extensions/test/') |
Vasily Kuznetsov
2018/11/14 16:34:40
I think it's better to use the approach based on _
Tudor Avram
2018/11/14 17:00:19
Done.
|
@pytest.fixture(scope='session') |