update google drive file link in json

This commit is contained in:
Jason Lee
2024-03-09 18:06:48 +08:00
parent d68e7369b7
commit 2291af394f
16 changed files with 117 additions and 60 deletions

View File

@@ -17,8 +17,11 @@ def compare_conference_city_in_order( actual_city_list_path, expected_city):
print("actual_city_list_path:")
print(actual_city_list)
wrong_list = []
for i in range(len(actual_city_list)):
if expected_city_list[i] not in actual_city_list[i]:
wrong_list.append(i)
print(f"Expected city {expected_city_list[i]}; Actual city {actual_city_list[i]}")
try:
for i in range(len(actual_city_list)):
if expected_city_list[i] not in actual_city_list[i]:
wrong_list.append(i)
print(f"Expected city {expected_city_list[i]}; Actual city {actual_city_list[i]}")
except:
return False
return True if len(wrong_list) == 0 else False