'Test for failure on two @ signs.
This should fail because @ is not a valid character for the host
part of the JID.'

def test_multipleAt(self):

    self.assertRaises(jid.InvalidFormat, jid.parse, 'user@host@host')
