Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mark that allows us to do skip tests on backends via decorators #353

Merged
merged 5 commits into from
Dec 28, 2013

Conversation

reaperhulk
Copy link
Member

Splitting the actual pytest changes into a separate PR from #348.

@alex
Copy link
Member

alex commented Dec 27, 2013

Err, sorry can you include the consumers of this mark and the removal of "only_if" from the generate functions, but not anything else? Sorry if my previous comment was confusing.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 60fc8da on reaperhulk:supported-mark into b645521 on pyca:master.

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: http://jenkins.cryptography.io/job/cryptography-pr-experimental/73/

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 783479c on reaperhulk:supported-mark into b645521 on pyca:master.

@jenkins-cryptography
Copy link

Test PASSed.
Refer to this link for build results: http://jenkins.cryptography.io/job/cryptography-pr-experimental/74/

only_if=lambda backend: backend.hash_supported(hashes.SHA1),
skip_message="Does not support SHA1",
)
def test_SHA1(self, backend):
base_hash_test(backend, hashes.SHA1(), digest_size=20, block_size=64)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes here with removing the generate_* stuff is what I didn't want to review in this patch, can bit be removed?

@jenkins-cryptography
Copy link

Test FAILed.
Refer to this link for build results: http://jenkins.cryptography.io/job/cryptography-pr-experimental/85/

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling b078d8e on reaperhulk:supported-mark into b645521 on pyca:master.

alex added a commit that referenced this pull request Dec 28, 2013
Add mark that allows us to do skip tests on backends via decorators
@alex alex merged commit 7ede6a4 into pyca:master Dec 28, 2013
@reaperhulk reaperhulk deleted the supported-mark branch December 28, 2013 02:59
joerichter-stash pushed a commit to kiwigrid/cryptography that referenced this pull request Nov 15, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants