From 20c671cf3bb77948280dc07c39dbbbbe8c7ab95c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 7 Aug 2015 16:34:50 +1200 Subject: Update integration test script --- tools/test-integration.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/test-integration.py b/tools/test-integration.py index cfecd15c1..be3f24a4d 100755 --- a/tools/test-integration.py +++ b/tools/test-integration.py @@ -107,15 +107,22 @@ devices = { '123456' : add_device(cookie, '123456') } -print 'Total: %d' % len(messages) + +all = set(ports.keys()) +protocols = set(messages.keys()) + +print 'Total: %d' % len(all) +print 'Missing: %d' % len(all - protocols) +print 'Covered: %d' % len(protocols) + +#if all - protocols: +# print '\nMissing: %s\n' % repr(list((all - protocols))) for protocol in messages: send_message(ports[protocol], messages[protocol]) time.sleep(5) -protocols = set(messages.keys()) - for device in devices: protocols -= set(get_protocols(cookie, devices[device])) -- cgit v1.2.3