$ python test_multi.py --num-zonegroups=2 --num-zones 2 --gateways-per-zone 1
Traceback (most recent call last):
File "test_multi.py", line 315, in <module>
init(True)
File "test_multi.py", line 162, in init
path = tpath('test_multi.conf')
NameError: global name 'tpath' is not defined
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
try:
path = os.environ['RGW_MULTI_TEST_CONF']
except KeyError:
- path = tpath('test_multi.conf')
+ path = test_path + 'test_multi.conf'
try:
with open(path) as f: