mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
14
python/rsa/tests/test_pem.py
Normal file
14
python/rsa/tests/test_pem.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/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-----')))
|
||||
Loading…
Add table
Add a link
Reference in a new issue