4 from os.path
import abspath, dirname, join, normpath
8 ROOT =
normpath(join(BASE,
'..',
'..',
'..',
'..'))
9 DATA = [join(ROOT,
'atest',
'testdata',
'misc'), join(BASE,
'dir.suite')]
10 SRC = join(ROOT,
'src')
12 OUTPUT = join(BASE,
'..',
'testdoc.js')
13 REAL_OUTPUT = join(BASE,
'testdoc.js')
15 sys.path.insert(0, SRC)
17 from robot.testdoc import TestSuiteFactory, TestdocModelWriter
19 with open(OUTPUT,
'w')
as output:
22 shutil.move(OUTPUT, REAL_OUTPUT)
def TestSuiteFactory(datasources, **options)
def abspath(path, case_normalize=False)
Replacement for os.path.abspath with some enhancements and bug fixes.
def normpath(path, case_normalize=False)
Replacement for os.path.normpath with some enhancements.