File: test_user.py

package info (click to toggle)
python-mercadopago 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,104 kB
  • sloc: python: 2,191; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 309 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""
    Module: test_user
"""
import os
import unittest
import mercadopago


class TestUser(unittest.TestCase):
    sdk = mercadopago.SDK(os.environ['ACCESS_TOKEN'])

    def test_find_user(self):
        self.assertEqual(self.sdk.user().get()["status"], 200)


if __name__ == "__main__":
    unittest.main()