mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-08 22:32:05 +00:00
15 lines
345 B
Python
15 lines
345 B
Python
|
#!/usr/bin/env python
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
|
||
|
import unittest2
|
||
|
from rsa._compat import b
|
||
|
from rsa.pem import _markers
|
||
|
|
||
|
|
||
|
class Test__markers(unittest2.TestCase):
|
||
|
def test_values(self):
|
||
|
self.assertEqual(_markers('RSA PRIVATE KEY'),
|
||
|
(b('-----BEGIN RSA PRIVATE KEY-----'),
|
||
|
b('-----END RSA PRIVATE KEY-----')))
|