Skip to content

Commit

Permalink
✅(backend) fix tests
Browse files Browse the repository at this point in the history
WIP.
  • Loading branch information
quitterie-lcs committed Sep 19, 2024
1 parent 50c44f2 commit 3740b05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/backends/data/test_async_lrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ async def test_backends_data_async_lrs_read_backend_error(
error = (
"Failed to fetch statements: Server error '500 Internal Server Error' for url "
"'http://fake-lrs.com/xAPI/statements/?limit=500'\nFor more information check: "
"https://httpstatuses.com/500"
"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500"
)
with pytest.raises(BackendException, match=re.escape(error)):
with caplog.at_level(logging.ERROR):
Expand Down Expand Up @@ -660,7 +660,7 @@ async def test_backends_data_async_lrs_write_with_post_exception(
msg = (
"Failed to post statements: Server error '500 Internal Server Error' for url "
"'http://fake-lrs.com/xAPI/statements/'\nFor more information check: "
"https://httpstatuses.com/500"
"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500"
)
assert (
f"ralph.backends.data.{backend.name}",
Expand Down

0 comments on commit 3740b05

Please sign in to comment.