Set-up and tear-down fixtures for unit tests
This plugin allows you to set up and tear down fixtures within unit test functions that use py.test
. This is useful for using hypothesis
inside py.test, as hypothesis
will call the test function multiple times, without setting up or tearing down fixture state as is normally the case.
Linter | Message | Location |
---|---|---|
input-labels Identify input labels that do not match package names | label 'python-pytest' does not match package name 'python2-pytest' | |
description Validate package descriptions | sentences in description should be followed by two spaces; possible infraction at 106 | |
inputs-should-be-native Identify inputs that should be native inputs | 'python2-pytest' should probably be a native input |