Rebrand discovery service as straywild

This commit is contained in:
Alexander Sellite 2026-08-25 17:14:33 -04:00
parent e20d8e0553
commit de454ff48a
18 changed files with 95 additions and 95 deletions

View file

@ -7,8 +7,8 @@ import socketserver
import threading
import unittest
from netfishing_discovery.registry import RoomRegistry
from netfishing_discovery.server import (
from straywild_discovery.registry import RoomRegistry
from straywild_discovery.server import (
DiscoveryHTTPServer,
ServerConfig,
TraversalUDPServer,
@ -21,7 +21,7 @@ VALID_ROOM = {
"current_players": 1,
"max_players": 8,
"game_version": "0.18.1-alpha",
"protocol_version": 10,
"protocol_version": 11,
}
@ -86,7 +86,7 @@ class DiscoveryHTTPTests(unittest.TestCase):
self.assertIsInstance(room_id, str)
self.assertIsInstance(token, str)
status, listing = self.request("GET", "/v1/rooms?protocol_version=10")
status, listing = self.request("GET", "/v1/rooms?protocol_version=11")
self.assertEqual(status, 200)
assert listing is not None
listed_rooms = listing["rooms"]
@ -264,7 +264,7 @@ class DiscoveryHTTPTests(unittest.TestCase):
write_token = "d" * 64
channel = hashlib.sha256(
f"NETFISHING_PRESENCE_V1:{write_token}".encode()
f"straywild_PRESENCE_V1:{write_token}".encode()
).hexdigest()
status, _published = self.request(
"POST",