'Test that the attributes correspond with the JID parts.'

def test_attributes(self):

    j = jid.JID('user@host/resource')
    self.assertEqual(j.user, 'user')
    self.assertEqual(j.host, 'host')
    self.assertEqual(j.resource, 'resource')
