From 7394734ac3d44ba080944a9649f3334bbc67d9f6 Mon Sep 17 00:00:00 2001 From: Eeshan Garg Date: Wed, 5 Jul 2017 00:20:37 -0230 Subject: [PATCH] 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. --- tools/test-api | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/test-api b/tools/test-api index f5e56cdf3c..592aba7cbd 100755 --- a/tools/test-api +++ b/tools/test-api @@ -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