fix(remote): end a remote session from before its create to after its DELETE

This commit is contained in:
imSp4rky
2026-11-30 13:56:59 -07:00
parent 3634fc5686
commit 34a3820eb8
34 changed files with 1719 additions and 276 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ def test_recover_moves_to_the_next_auth_header() -> None:
@responses.activate
def test_server_draining_moves_to_the_next_auth_header() -> None:
service = make_service()
service.channel = PollingChannel(ServerMessages(service))
service.lifetime.channel = PollingChannel(ServerMessages(service))
responses.add_callback(responses.GET, f"{SERVER}/api/session/s1", callback=second_header_only({"draining": True}))
assert service.server_draining()