greatmengqi 6c0c2ecf62 fix(tests): update test mocks for AppConfig ContextVar refactoring
- Add frozen=True to DatabaseConfig and RunEventsConfig
- Update test_client_e2e.py: replace _app_config global mock with
  AppConfig.current staticmethod mock; remove stale _title_config,
  _summarization_config, get_memory_config patches; move config
  disablement into _make_e2e_config(); mock AppConfig.from_file for
  tests that trigger internal config reload
- Update test_memory_storage_user_isolation.py: replace get_memory_config
  mock with autouse AppConfig.current fixture
- Update test_model_factory.py: construct ModelConfig with stream_usage
  extra field instead of mutating frozen instance
2026-04-15 21:54:52 +08:00
..