"""§5 群管理""" import pytest pytestmark = pytest.mark.integration def test_rooms_list_and_health(api): rooms = api.assert_success(api.get("/rooms")) assert isinstance(rooms, list) all_health = api.assert_success(api.get("/rooms/health")) assert isinstance(all_health, list) def test_room_member_events(api): events = api.assert_success(api.get("/rooms/member-events")) assert isinstance(events, list)