cc: remove woodlands test + brackets

merge #14
This commit is contained in:
Mark Joshwel 2023-06-20 20:57:24 +00:00 committed by GitHub
commit 52932c21cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

14
test.py
View file

@ -71,12 +71,12 @@ tests: list[ContinuityTest] = [
query="3RQ3+HW3 Pemping, Batam City, Riau Islands, Indonesia",
expected=("Batam\n" "Kepulauan Riau, Indonesia"),
),
ContinuityTest(
query="CQPP+QM9 Singapore",
expected=(
"Woodlands Integrated Transport Hub\n" "738343\n" "Northwest, Singapore"
),
),
# ContinuityTest(
# query="CQPP+QM9 Singapore",
# expected=(
# "Woodlands Integrated Transport Hub\n" "738343\n" "Northwest, Singapore"
# ),
# ),
ContinuityTest(
query="8RRX+75Q Singapore",
expected=(
@ -138,7 +138,7 @@ def main() -> int:
for fail in failures:
print(
f"[{tests.index(fail.test) + 1}/({len(tests)})] {fail.test.query}\n"
f"[{tests.index(fail.test) + 1}/{len(tests)}] {fail.test.query}\n"
+ (
indent("\n".join(format_exception(fail.exception)), prefix=INDENT * " ")
+ "\n"