jira-to-code / src /jira_to_code /tasks /hard_6 /test_gateway.py
Navigam's picture
feat: expand task suite to 22 challenges and update reward signal mechanics
6392732
Raw
History Blame Contribute Delete
208 Bytes
from gateway import StripeGateway, PaymentGateway
def test_stripe_gateway():
assert issubclass(StripeGateway, PaymentGateway)
s = StripeGateway()
assert s.charge(100) == 'Charged 100 via Stripe'