Add test for capture

This commit is contained in:
Tanner 2021-03-10 20:00:08 -07:00
parent 5c15c8fcf5
commit 5e565f84c2

View File

@ -28,3 +28,7 @@ def trigger_capture():
sock.sendto(SEND.encode('utf-8'), (MCAST_GRP, MCAST_PORT)) sock.sendto(SEND.encode('utf-8'), (MCAST_GRP, MCAST_PORT))
sock.close() sock.close()
print('Sent.') print('Sent.')
if __name__ == '__main__':
print('Triggering test capture...')
trigger_capture()