Determines which constraints apply to each item under test. More...
Inheritance diagram for ConstraintSet:Public Member Functions | |
| def | __init__ |
| def | constraints_for |
| Retrieves all constraints that should be considered for a single item under test. More... | |
Public Attributes | |
| constraintSuite | |
| globalConstraints | |
| filteredConstraints | |
Determines which constraints apply to each item under test.
This "override" functionality allows specific projects/files within a codebase to be given different constraints than the global default constraints.
| def __init__ | ( | self, | |
| constraintSuite, | |||
| globalConstraints, | |||
| filteredConstraints | |||
| ) |
| def constraints_for | ( | self, | |
| item | |||
| ) |
Retrieves all constraints that should be considered for a single item under test.
| item | A vigilance.representation.QualityItem instance. |
| constraintSuite |
| filteredConstraints |
| globalConstraints |