def test_list_images(self):
        images = self.driver.list_images()
        self.assertEqual(len(images), 3)
        self.assertEqual(images[0].id, 'img-99q79')
        self.assertEqual(images[0].name, 'CentOS 5.5 server')
        self.assertTrue(images[0].extra in 'ancestor')
        self.assertFalse('licence_name' in images[0].extra)
dataset/ETHPy150Open apache/libcloud/libcloud/test/compute/test_brightbox.py/BrightboxTest.test_list_images/swapped operands of `in`