File: test_identification_type.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 (24 lines) | stat: -rw-r--r-- 519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"""
    Module: test_identification_type
"""
import os
import unittest
import mercadopago


class TestIdentificationType(unittest.TestCase):
    """
    Test Module: Identification Type
    """
    sdk = mercadopago.SDK(os.environ['ACCESS_TOKEN'])

    def test_find_all(self):
        """
        Test Function: Identification Type
        """
        identifications = self.sdk.identification_type().list_all()
        self.assertEqual(identifications["status"], 200)


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