

def test_secondaryExplicitPort(self):
    '\n        An argument of the form C{"ip:port/domain"} can be used to specify an\n        alternate port number for for which to act as a secondary.\n        '
    options = Options()
    options.parseOptions(['--secondary', '1.2.3.4:5353/example.com'])
    self.assertEqual([(('1.2.3.4', 5353), ['example.com'])], options.secondaries)

dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/names/test/test_tap.py OptionsTests.test_secondaryExplicitPort/original