Source code

Revision control

Other Tools

1
import os
2
import sys
3
4
here = os.path.abspath(os.path.split(__file__)[0])
5
repo_root = os.path.abspath(os.path.join(here, os.pardir))
6
7
sys.path.insert(0, os.path.join(here))
8
sys.path.insert(0, os.path.join(here, "wptserve"))
9
sys.path.insert(0, os.path.join(here, "pywebsocket"))
10
sys.path.insert(0, os.path.join(here, "third_party", "atomicwrites"))
11
sys.path.insert(0, os.path.join(here, "third_party", "attrs", "src"))
12
sys.path.insert(0, os.path.join(here, "third_party", "funcsigs"))
13
sys.path.insert(0, os.path.join(here, "third_party", "html5lib"))
14
sys.path.insert(0, os.path.join(here, "third_party", "more-itertools"))
15
sys.path.insert(0, os.path.join(here, "third_party", "pluggy"))
16
sys.path.insert(0, os.path.join(here, "third_party", "py"))
17
sys.path.insert(0, os.path.join(here, "third_party", "pytest", "src"))
18
sys.path.insert(0, os.path.join(here, "third_party", "six"))
19
sys.path.insert(0, os.path.join(here, "third_party", "webencodings"))
20
sys.path.insert(0, os.path.join(here, "third_party", "h2"))
21
sys.path.insert(0, os.path.join(here, "third_party", "hpack"))
22
sys.path.insert(0, os.path.join(here, "third_party", "hyperframe"))
23
sys.path.insert(0, os.path.join(here, "third_party", "certifi"))
24
sys.path.insert(0, os.path.join(here, "third_party", "hyper"))
25
sys.path.insert(0, os.path.join(here, "webdriver"))
26
sys.path.insert(0, os.path.join(here, "wptrunner"))
27
28
if sys.version_info[0] == 2:
29
sys.path.insert(0, os.path.join(here, "third_party", "enum"))