Update README

This commit is contained in:
2022-09-26 06:20:28 +00:00
parent 5a938b40b4
commit 3fcb0d582f
3 changed files with 23 additions and 7 deletions

View File

@@ -878,12 +878,16 @@ class ToxSuite(unittest.TestCase):
from toxygen_tests import test_sound_notification
test_sound_notification(self)
def test_loop_until_connected(self): # works
assert self.loop_until_connected()
def test_self_get_udp_port(self): # works
"""
t:self_get_udp_port
"""
if hasattr(oTOX_OPTIONS, 'udp_port') and oTOX_OPTIONS.udp_port:
o = self.alice.self_get_udp_port()
LOG.info('self_get_udp_port ' +repr(o))
assert o > 0
def test_self_get_tcp_port(self): # works
@@ -895,10 +899,6 @@ class ToxSuite(unittest.TestCase):
o = self.alice.self_get_tcp_port()
LOG.info('self_get_tcp_port ' +repr(o))
def test_loop_until_connected(self): # works
assert self.loop_until_connected()
def test_address(self): # works
"""
t:self_get_address