schrodinger.test.hypothesis.utils module

schrodinger.test.hypothesis.utils.skip_rule(reason=None)[source]

Custom precondition to skip rules in Hypothesis stateful tests

Example:

@skip_rule("Fix in PANEL-XXXXX")
@precondition(lambda self: len(self.items) > 1)
@rule()
def sumItems(self):
    pass