We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27c0ed5 commit d5c8453Copy full SHA for d5c8453
ramp-database/ramp_database/tools/tests/test_leaderboard.py
@@ -172,7 +172,7 @@ def test_get_leaderboard(session_toy_db):
172
)
173
assert leaderboard_failed.count("<tr>") == 1
174
# check that we have a link to the log of the failed submission
175
- assert re.match(r"<a href=/.*/error.txt>", leaderboard_failed)
+ assert re.match(r".*<a href=/.*/error.txt>.*", leaderboard_failed, flags=re.DOTALL)
176
177
# the remaining submission should be successful
178
leaderboard_public = get_leaderboard(session_toy_db, "public", "iris_test")
0 commit comments