Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer committed Dec 7, 2023
1 parent 1f4b116 commit 982e01a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_runserver_serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def test_aux_reload_no_path():
aux_app = Application()
ws = MagicMock()
ws.send_str = MagicMock(return_value=create_future())
aux_appapp[LAST_RELOAD] = [0, 0.]
aux_app[LAST_RELOAD] = [0, 0.]
aux_app[STATIC_PATH] = "/path/to/static_files/"
aux_app[STATIC_URL] = "/static/"
aux_app[WS] = set(((ws, "/foo/bar"),)) # type: ignore[misc]
Expand Down Expand Up @@ -89,7 +89,7 @@ async def test_aux_reload_runtime_error(smart_caplog):
ws = MagicMock()
ws.send_str = MagicMock(return_value=create_future())
ws.send_str = MagicMock(side_effect=RuntimeError('foobar'))
app[LAST_RELOAD] = [0, 0.]
aux_app[LAST_RELOAD] = [0, 0.]
aux_app[STATIC_PATH] = "/path/to/static_files/"
aux_app[STATIC_URL] = "/static/"
aux_app[WS] = set(((ws, "/foo/bar"),)) # type: ignore[misc]
Expand Down

0 comments on commit 982e01a

Please sign in to comment.