summaryrefslogtreecommitdiff
path: root/test/test_send_fake_sound_hit.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-05-31 09:22:00 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-06-10 02:07:23 +0300
commitf29e139cbb7e4a4d539cba6e894ef4a6acd312d6 (patch)
tree6246f126325c5c36fb573134a05f2771cd747966 /test/test_send_fake_sound_hit.py
parent3e3753d726f8a02d98368f20f77dd9fa739e3d80 (diff)
WIP: big refactoring
Diffstat (limited to 'test/test_send_fake_sound_hit.py')
-rwxr-xr-xtest/test_send_fake_sound_hit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_send_fake_sound_hit.py b/test/test_send_fake_sound_hit.py
index 9660c45..61886cd 100755
--- a/test/test_send_fake_sound_hit.py
+++ b/test/test_send_fake_sound_hit.py
@@ -8,7 +8,7 @@ sys.path.extend([
])
from argparse import ArgumentParser
-from src.home.util import send_datagram, stringify, parse_addr
+from src.home.util import send_datagram, stringify, Addr
if __name__ == '__main__':
@@ -22,4 +22,4 @@ if __name__ == '__main__':
args = parser.parse_args()
- send_datagram(stringify([args.name, args.hits]), parse_addr(args.server))
+ send_datagram(stringify([args.name, args.hits]), Addr.fromstring(args.server))