Home | History | Annotate | Download | only in tests
      1 #!/usr/bin/env python
      2 # -*- coding: utf-8 -*-
      3 
      4 
      5 import unittest2
      6 from rsa._compat import b
      7 from rsa.pem import _markers
      8 
      9 
     10 class Test__markers(unittest2.TestCase):
     11     def test_values(self):
     12         self.assertEqual(_markers('RSA PRIVATE KEY'),
     13             (b('-----BEGIN RSA PRIVATE KEY-----'),
     14              b('-----END RSA PRIVATE KEY-----')))
     15