refactor: remove verified unused internals (#6460)
* refactor: remove verified unused internals * test(linear): synchronize webhook shutdown with writer join
This commit is contained in:
1 parent
3230013963
commit
f23a6d1485
105 files changed
+207
-1282
No files matched your search
@@ -8,7 +8,6 @@ import pytest
|
||||
|
||||
from nanobot.session.manager import SessionManager
|
||||
from nanobot.session.session_handles import (
|
||||
SessionHandle,
|
||||
SessionHandleResolver,
|
||||
session_handle_for_name,
|
||||
)
|
||||
@@ -26,12 +25,6 @@ def _save_session(manager: SessionManager, key: str, title: str) -> None:
|
||||
manager.save(session)
|
||||
|
||||
|
||||
def _handle(manager: SessionManager, key: str) -> SessionHandle:
|
||||
handle = SessionHandleResolver(manager).handle_for_session(key)
|
||||
assert handle is not None
|
||||
return handle
|
||||
|
||||
|
||||
@pytest.mark.parametrize("raw", [None, []], ids=["missing", "empty"])
|
||||
async def test_empty_mentions_do_not_wait_for_unrelated_storage(tmp_path, monkeypatch, raw):
|
||||
manager = SessionManager(tmp_path)
|
||||
|
||||
Reference in new issue
Block a user