Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: conftest/sitescripts/extensions.py

Issue 29940559: Issue 7112 - Add centralised conftest (Closed)
Patch Set: Created Nov. 8, 2018, 7:37 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « conftest/sitescripts/__init__.py ('k') | sitescripts/extensions/test/conftest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: conftest/sitescripts/extensions.py
diff --git a/sitescripts/extensions/test/conftest.py b/conftest/sitescripts/extensions.py
similarity index 97%
rename from sitescripts/extensions/test/conftest.py
rename to conftest/sitescripts/extensions.py
index f673937bc919b02b20b38b352ceaf9561cafb1de..80844bfd18fecfcc4893d1b8935f211614427dfe 100644
--- a/sitescripts/extensions/test/conftest.py
+++ b/conftest/sitescripts/extensions.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/')
@pytest.fixture(scope='session')
« no previous file with comments | « conftest/sitescripts/__init__.py ('k') | sitescripts/extensions/test/conftest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld