summaryrefslogtreecommitdiff
path: root/tests/test_only_directive.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_only_directive.py')
-rw-r--r--tests/test_only_directive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_only_directive.py b/tests/test_only_directive.py
index 2396046e..af1462c0 100644
--- a/tests/test_only_directive.py
+++ b/tests/test_only_directive.py
@@ -17,10 +17,10 @@ from util import *
def teardown_module():
- (test_root / '_build').rmtree(True)
+ (test_roots / 'test-only-directive' / '_build').rmtree(True)
-@with_app(buildername='text')
+@with_app(buildername='text', srcdir=(test_roots / 'test-only-directive'))
def test_sectioning(app):
def getsects(section):