mirror of https://github.com/zulip/zulip.git
tools: Extract ROOT_DIR.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
parent
acff0879e7
commit
ea3478e377
|
@ -8,9 +8,10 @@ from typing import List
|
||||||
from zulint import lister
|
from zulint import lister
|
||||||
|
|
||||||
TOOLS_DIR = os.path.dirname(os.path.abspath(__file__))
|
TOOLS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
os.chdir(os.path.dirname(TOOLS_DIR))
|
ROOT_DIR = os.path.dirname(TOOLS_DIR)
|
||||||
|
os.chdir(ROOT_DIR)
|
||||||
|
|
||||||
sys.path.append(os.path.dirname(TOOLS_DIR))
|
sys.path.append(ROOT_DIR)
|
||||||
from tools.lib.test_script import add_provision_check_override_param, assert_provisioning_status_ok
|
from tools.lib.test_script import add_provision_check_override_param, assert_provisioning_status_ok
|
||||||
|
|
||||||
exclude = """
|
exclude = """
|
||||||
|
|
Loading…
Reference in New Issue