Print version before tests
This helps with debugging of import-related issues - we know the version under test before the test has a chance to hang. Change-Id: If13cba60a19e9c15885355f85def4d134fa37993 Related: OS#2821
This commit is contained in:
parent
cd5a6e419e
commit
c41b751dec
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
__version__ = '0.0.8'
|
__version__ = '0.0.9'
|
||||||
|
|
||||||
__all__ = ['obscvty', 'osmoutil', 'osmo_ipa', 'osmo_interact']
|
__all__ = ['obscvty', 'osmoutil', 'osmo_ipa', 'osmo_interact']
|
||||||
|
|
|
@ -38,6 +38,8 @@ if __name__ == '__main__':
|
||||||
test_host = '127.0.0.5'
|
test_host = '127.0.0.5'
|
||||||
test_port = str(random.randint(1025, 60000))
|
test_port = str(random.randint(1025, 60000))
|
||||||
|
|
||||||
|
print('Testing v%s on %s:%s' % (__version__, test_host, test_port))
|
||||||
|
|
||||||
# Each client connection will create a new protocol instance
|
# Each client connection will create a new protocol instance
|
||||||
server = loop.run_until_complete(loop.create_server(CtrlProtocol, test_host, test_port))
|
server = loop.run_until_complete(loop.create_server(CtrlProtocol, test_host, test_port))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue