mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-01 21:45:10 +00:00
fix(remote): end a remote session from before its create to after its DELETE
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user