feat: AppState gains speaker pause fields and AWAITING_SPEAKERS status
This commit is contained in:
@@ -160,6 +160,17 @@ def test_status_includes_is_admin():
|
||||
app.dependency_overrides.pop(current_user, None)
|
||||
|
||||
|
||||
def test_state_has_speaker_fields():
|
||||
from api.state import AppState
|
||||
s = AppState()
|
||||
assert hasattr(s, "_speakers_event")
|
||||
assert hasattr(s, "_pending_aligned_segments")
|
||||
assert hasattr(s, "_speaker_names")
|
||||
assert s._speakers_event is None
|
||||
assert s._pending_aligned_segments is None
|
||||
assert s._speaker_names is None
|
||||
|
||||
|
||||
def test_put_config_deep_merges(tmp_path, monkeypatch):
|
||||
import config as cfg_mod
|
||||
monkeypatch.setattr(cfg_mod, "CONFIG_PATH", str(tmp_path / "config.toml"))
|
||||
|
||||
Reference in New Issue
Block a user