Skip to main content

judge.Tally

judge.Tally(passed, failed, errors)

Counts of one pytest run, or of the dependents of a unit.

Attributes

Name Type Description
passed int Tests (or dependents) that passed.
failed int Tests (or dependents) that failed.
errors int Errors outside a test: a collection error, a fixture error, a timeout. Always 0 for dependents.

Examples

from spotregen.judge import Tally

print(Tally(passed=3, failed=0, errors=0))
Tally(passed=3, failed=0, errors=0)