git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename get_m2_pkey into get_m2_pubkey in unit test as well
[sfa.git]
/
tests
/
testKeypair.py
diff --git
a/tests/testKeypair.py
b/tests/testKeypair.py
index
ebe1ede
..
3d8d40a
100755
(executable)
--- a/
tests/testKeypair.py
+++ b/
tests/testKeypair.py
@@
-3,7
+3,6
@@
import sys
sys.path.append('..')
import unittest
sys.path.append('..')
import unittest
-import xmlrpclib
import base64
from sfa.trust.certificate import Keypair
import base64
from sfa.trust.certificate import Keypair
@@
-26,11
+25,11
@@
class TestKeypair(unittest.TestCase):
self.assertEqual(k.as_pem(), k2.as_pem())
self.assertEqual(k.as_pem(), k2.as_pem())
- def test_get_m2_pkey(self):
+ def test_get_m2_p
ub
key(self):
k = Keypair()
k.create()
k = Keypair()
k.create()
- m2 = k.get_m2_pkey()
+ m2 = k.get_m2_p
ub
key()
self.assert_(m2 != None)
def test_get_openssl_pkey(self):
self.assert_(m2 != None)
def test_get_openssl_pkey(self):