PATH:
lib
/
python3.6
/
site-packages
/
josepy
"""Tests for josepy.errors.""" import unittest class UnrecognizedTypeErrorTest(unittest.TestCase): def setUp(self): from josepy.errors import UnrecognizedTypeError self.error = UnrecognizedTypeError('foo', {'type': 'foo'}) def test_str(self): self.assertEqual( "foo was not recognized, full message: {'type': 'foo'}", str(self.error)) if __name__ == '__main__': unittest.main() # pragma: no cover
[-] jwk.py
[edit]
[-] jwa.py
[edit]
[-] magic_typing_test.py
[edit]
[-] test_util.py
[edit]
[-] interfaces_test.py
[edit]
[-] interfaces.py
[edit]
[-] b64.py
[edit]
[+]
__pycache__
[-] util_test.py
[edit]
[-] json_util_test.py
[edit]
[-] jwk_test.py
[edit]
[-] jws.py
[edit]
[-] errors.py
[edit]
[-] util.py
[edit]
[-] __init__.py
[edit]
[-] errors_test.py
[edit]
[+]
testdata
[-] magic_typing.py
[edit]
[-] b64_test.py
[edit]
[+]
..
[-] jws_test.py
[edit]
[-] jwa_test.py
[edit]
[-] json_util.py
[edit]