def test_search_on_verification_id(self):
        customer_id = "%s" % randint(1, 10000)

        result = Customer.create({
            "id": customer_id,
            "credit_card": {
                "expiration_date": "10/2018",
                "number": CreditCardNumbers.FailsSandboxVerification.Visa,
                "options": {
                    "verify_card": True
                }
            }
        })
        verification_id = result.credit_card_verification.id

        found_verifications = CreditCardVerification.search(
            CreditCardVerificationSearch.id == verification_id
        )

        self.assertEqual(1, found_verifications.maximum_size)
        self.assertEqual(verification_id, found_verifications.first.id)
dataset/ETHPy150Open braintree/braintree_python/tests/integration/test_credit_card_verification_search.py/TestVerificationSearch.test_search_on_verification_id/original