Skip to content

Commit

Permalink
Mark test expected to fail on Travis due to old SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielle Madeley committed Feb 1, 2018
1 parent 27d5140 commit 8c4c223
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ class Is:
softhsm2 = LIB.endswith('libsofthsm2.so')
nfast = LIB.endswith('libcknfast.so')
opencryptoki = LIB.endswith('libopencryptoki.so')
travis = os.environ.get('TRAVIS') == 'true'


class Only:
Expand Down Expand Up @@ -126,3 +127,4 @@ class FIXME:
softhsm2 = xfail(Is.softhsm2)
nfast = xfail(Is.nfast)
opencryptoki = xfail(Is.opencryptoki)
travis = xfail(Is.travis)
1 change: 1 addition & 0 deletions tests/test_aes.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def test_sign_stream(self):

@requires(Mechanism.AES_KEY_WRAP)
@FIXME.opencryptoki # can't set key attributes
@FIXME.travis # Travis has an old OpenSSL
def test_wrap(self):
key = self.session.generate_key(pkcs11.KeyType.AES, 128, template={
pkcs11.Attribute.EXTRACTABLE: True,
Expand Down

0 comments on commit 8c4c223

Please sign in to comment.