File: test_unknown_payment_method.py

package info (click to toggle)
python-braintree 4.31.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,576 kB
  • sloc: python: 28,946; makefile: 9; sh: 8
file content (6 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
from tests.test_helper import *

class TestUnknownPaymentMethod(unittest.TestCase):
    def test_image_url(self):
        unknown_payment_method = UnknownPaymentMethod("gateway", {"token": "TOKEN"})
        self.assertEqual("https://assets.braintreegateway.com/payment_method_logo/unknown.png", unknown_payment_method.image_url())