File: test_oauth_access_revocation.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 (8 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
from tests.test_helper import *
import datetime

class TestOAuthAccessRevocation(unittest.TestCase):
    def test_assigns_merchant_id(self):
        revocation = OAuthAccessRevocation({"merchant_id": "abc123xyz"})

        self.assertEqual(revocation.merchant_id, "abc123xyz")