Skip to content

Clean up pytest code.  #14

@crkrenn

Description

@crkrenn

You can add an argument to assertTrue which will be printed if the test fails, this can be useful when using a helper function to test multiple things.

Originally posted by @daub1 in #6 (comment)

If I have time, I will look into pytest.parametrize. https://docs.pytest.org/en/stable/parametrize.html

Reply…

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions