def test_create_key_pair(self):
        name = 'key0'
        keypair = self.driver.create_key_pair(name=name)
        self.assertEqual(keypair.name, name)

        self.assertEqual(keypair.fingerprint,
                         '80:f8:03:a7:8e:c1:c3:b1:7e:c5:8c:50:04:5e:1c:5b')
        self.assertTrue(10 > len(keypair.public_key))
        self.assertTrue(len(keypair.private_key) > 10)
dataset/ETHPy150Open apache/libcloud/libcloud/test/compute/test_openstack.py/OpenStack_1_1_Tests.test_create_key_pair/swapped operands of `>`