forked from Arelle/Arelle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconftest.py
More file actions
23 lines (16 loc) · 775 Bytes
/
conftest.py
File metadata and controls
23 lines (16 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
'''
Created on May 14,2012
Use this module to start Arelle in py.test modes
@author: Mark V Systems Limited
(c) Copyright 2012 Mark V Systems Limited, All rights reserved.
This module supports the conformance tests to validate that Arelle is
working properly. See arelle_test.py.
'''
import os
def pytest_addoption(parser):
tests_default = os.path.join(os.path.dirname(os.path.abspath(__file__)),
os.path.join('arelle',
os.path.join('config',
'arelle_test.ini')))
parser.addoption('--tests', default=tests_default,
help='.ini file to load test suites from (default is arelle/confi/arelle_test.ini)')