'If the value supplied for an I{--secondary} option does not provide a
server IP address, optional port number, and domain name,
L{Options.parseOptions} raises L{UsageError}.'

def test_malformedSecondary(self):

    options = Options()
    self.assertRaises(UsageError, options.parseOptions, ['--secondary', ''])
    self.assertRaises(UsageError, options.parseOptions, ['--secondary', '1.2.3.4'])
    self.assertRaises(UsageError, options.parseOptions, ['--secondary', '1.2.3.4:hello'])
    self.assertRaises(UsageError, options.parseOptions, ['--secondary', '1.2.3.4:hello/example.com'])
