Mr.Combet Webshell
Your IP :
18.216.220.150
Server IP :
185.136.159.155
Server :
Linux 185-136-159-155.cprapid.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software :
Apache
PHP Version :
8.1.29
Add File :
Submit
Add Directory :
Submit
Dir :
~
/
lib
/
python2.7
/
site-packages
/
josepy
/
View File Name :
errors_test.py
"""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