Skip to content

Commit bdbe005

Browse files
committed
Adding system_tests to import path in emulator script.
These imports were broken by #1373.
1 parent d56ea3d commit bdbe005

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/run_emulator.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@
2222
import argparse
2323
import os
2424
import subprocess
25+
import sys
2526

2627
import psutil
2728

2829
from gcloud.environment_vars import GCD_DATASET
2930
from gcloud.environment_vars import GCD_HOST
3031
from gcloud.environment_vars import PUBSUB_EMULATOR
32+
33+
ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
34+
sys.path.append(ROOT_DIR)
3135
from system_tests.run_system_test import run_module_tests
3236

3337

0 commit comments

Comments
 (0)