1# Imports
2import sys
3import os
4from os.path import dirname, abspath, abspath
5
6import pyutilib.th as unittest
7
8currdir = dirname(abspath(__file__)) + os.sep
9datadir = os.sep.join([dirname(dirname(dirname(dirname(abspath(__file__))))),
10                       'doc', 'workflow', 'examples']) + os.sep
11
12sys.path.insert(0, datadir)
13try:
14    from test_example import *
15finally:
16    sys.path.remove(datadir)
17
18# Execute the tests
19if __name__ == '__main__':
20    unittest.main()
21