Prepare private v0.20.2-alpha discovery service

This commit is contained in:
Alexander Sellite 2026-08-31 06:06:09 -04:00
parent 9671084d78
commit e979da9e76
6 changed files with 15 additions and 15 deletions

View file

@ -16,8 +16,8 @@ VALID_ROOM = {
"port": 7777,
"current_players": 1,
"max_players": 8,
"game_version": "0.19.0-alpha",
"protocol_version": 11,
"game_version": "0.20.2-alpha",
"protocol_version": 12,
}
@ -112,7 +112,7 @@ class RoomRegistryTests(unittest.TestCase):
"203.0.113.11",
dict(VALID_ROOM, room_name="Older Room", protocol_version=3),
)
self.assertEqual(self.registry.list_rooms(protocol_version=11), [expected])
self.assertEqual(self.registry.list_rooms(protocol_version=12), [expected])
self.assertEqual(self.registry.list_rooms(game_version="missing"), [])
def test_room_limits_bound_untrusted_advertisements(self) -> None: