Skip to content

Commit aa37499

Browse files
author
Leif Johansson
committed
drop unused function
1 parent e9a6fcd commit aa37499

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/xmlsec/test/p11_test.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -239,16 +239,6 @@ def teardown(self):
239239
self.p11_test_files = []
240240

241241

242-
def _get_all_signatures(t):
243-
res = []
244-
for sig in t.findall(".//{%s}Signature" % xmlsec.NS['ds']):
245-
sv = sig.findtext(".//{%s}SignatureValue" % xmlsec.NS['ds'])
246-
assert sv is not None
247-
# base64-dance to normalize newlines
248-
res.append(base64.encodestring(base64.decodestring(sv)))
249-
return res
250-
251-
252242
class TestPKCS11(unittest.TestCase):
253243
def setUp(self):
254244
datadir = pkg_resources.resource_filename(__name__, 'data')

0 commit comments

Comments
 (0)