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:
Eeshan Garg 2017-07-05 00:20:37 -02:30 committed by Tim Abbott
parent 938597c5da
commit 7394734ac3
1 changed files with 0 additions and 5 deletions

View File

@ -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