mirror of https://github.com/zulip/zulip.git
tools/test-api: Stop inserting api/ in PATH.
Now that we have decided to move our API bindings to a separate repo and specify them as a pip dependency, we can stop modifying PATH to include the api/ directory.
This commit is contained in:
parent
938597c5da
commit
7394734ac3
|
@ -13,11 +13,6 @@ TOOLS_DIR = os.path.dirname(__file__)
|
|||
ROOT_DIR = os.path.dirname(TOOLS_DIR)
|
||||
sys.path.insert(0, ROOT_DIR)
|
||||
|
||||
api_path = os.path.abspath(os.path.join(ROOT_DIR, 'api'))
|
||||
if not os.path.exists(api_path):
|
||||
raise Exception('programming error--files probably got moved')
|
||||
|
||||
sys.path.insert(0, api_path)
|
||||
from zulip import Client
|
||||
|
||||
from tools.lib.test_server import test_server_running
|
||||
|
|
Loading…
Reference in New Issue