test: update test

This commit is contained in:
2023-10-24 20:10:24 +08:00
parent f55b581059
commit 1fcdf20afb
2 changed files with 3 additions and 3 deletions

View File

@@ -311,8 +311,8 @@ async def recieve_request(i_m: IP_Message):
def get_own_ip() -> str:
hostname = socket.gethostname()
ip = socket.gethostbyname(hostname)
ip = os.environ.get("HOST_IP", "IP not set")
return ip