Test shutting down minode --i2p if there is no running i2pd

This commit is contained in:
Lee Miller 2023-08-10 03:55:48 +03:00
parent e8dc62f08b
commit 1dfe98cf1f
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -138,3 +138,9 @@ class TestProcessI2P(TestProcess):
for c in self.connections():
self.assertEqual(c.raddr[0], '127.0.0.1')
self.assertEqual(c.raddr[1], 7656)
@unittest.skipUnless(i2p_port_free, 'Detected running i2pd')
class TestProcessNoI2P(TestProcessShutdown):
"""Test minode process shutdown with --i2p and no IP"""
_process_cmd = ['minode', '--i2p', '--no-ip']