'Test that Key objects are not-compared correctly.'

def test_notEqual(self):

    rsa1 = keys.Key(self.rsaObj)
    rsa2 = keys.Key(self.rsaObj)
    rsa3 = keys.Key(keys.Key._fromRSAComponents(n=long(5), e=long(3))._keyObject)
    dsa = keys.Key(self.dsaObj)
    self.assertFalse((rsa1 != rsa2))
    self.assertTrue((rsa1 != rsa3))
    self.assertTrue((rsa1 != dsa))
    self.assertTrue((rsa1 != object))
    self.assertTrue((rsa1 != None))
