mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 23:45:07 +00:00
feat(remote)!: make remote serve WebSocket-only and refuse older clients with CLIENT_OUTDATED
This commit is contained in:
@@ -364,7 +364,7 @@ def test_the_login_state_is_the_one_its_bridge_holds(monkeypatch: pytest.MonkeyP
|
||||
worker = threading.Thread(target=lambda: answers.append(bridge.request_input("Code?")))
|
||||
worker.start()
|
||||
assert offered.wait(5)
|
||||
assert bridge.status is AuthStatus.PENDING_INPUT
|
||||
assert bridge.get_pending_ask().prompt == "Code?"
|
||||
assert entry.auth_status is AuthStatus.AUTHENTICATING
|
||||
assert bridge.submit_response("1234")
|
||||
worker.join(5)
|
||||
|
||||
Reference in New Issue
Block a user