From e3d3d6b76010a6dd5c417f017339bec17fb07887 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 14 Jun 2022 02:44:43 +0300 Subject: media: refactor sound_node, introduce camera_node --- src/test/test_send_fake_sound_hit.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 src/test/test_send_fake_sound_hit.py (limited to 'src/test/test_send_fake_sound_hit.py') diff --git a/src/test/test_send_fake_sound_hit.py b/src/test/test_send_fake_sound_hit.py deleted file mode 100755 index af6b7eb..0000000 --- a/src/test/test_send_fake_sound_hit.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python3 -import sys -import os.path -sys.path.extend([ - os.path.realpath( - os.path.join(os.path.dirname(os.path.join(__file__)), '..', '..') - ) -]) - -from argparse import ArgumentParser -from src.home.util import send_datagram, stringify, parse_addr - - -if __name__ == '__main__': - parser = ArgumentParser() - parser.add_argument('--name', type=str, required=True, - help='node name, like `diana`') - parser.add_argument('--hits', type=int, required=True, - help='hits count') - parser.add_argument('--server', type=str, required=True, - help='center server addr in host:port format') - - args = parser.parse_args() - - send_datagram(stringify([args.name, args.hits]), parse_addr(args.server)) -- cgit v1.2.3