Skip to content

backend-explicit tests #108

@mattsb42-aws

Description

@mattsb42-aws

The current test framework loads all cryptographic backends and then tests them all in the same pass.

This has a few unintended effects: it makes it impossible to run the tests without all backends present, it masks failures of some tests that will fail when certain backends are not present (because they use the autoloader), and it makes it easier to forget to enable tests for certain backends.

I've been hacking on this and I have the tests reconfigured to enable testing with isolated backends[1], but as noted above the previous approach was masking tests that currently fail when certain backends are not present.

Assuming that this is a change that would be desirable, what would be your preferred way of handling the changes? In the interest of keeping the PRs small and digestible I would rather not lump the test reworking and any fixes together into the same PR, but pushing only the test rework will make the test suite fail.

[1] https://github.com/mattsb42-aws/python-jose/tree/explicit-dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions