Files
firefox/third_party/python/rsa/tests/test_pem.py
T
Andrew Halberstadt 7bb38413f2 Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted
This commit is a simple 'hg mv' and does not contain any file modifications.

***
Bug 1346025 - Split vendored modules in python/moz.build to third_party/python/moz.build, r=ted

***
Bug 1346025 - Update references to moved python modules, r=ted

MozReview-Commit-ID: A12RnIFtXju
2017-05-25 11:48:03 -04:00

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-----')))