Skip to content

case

Base Preflight test class that defines the minimum interface.

Classes

PreflightTestCase

Bases: object

Base class for preflight tests.

Functions

setUp(doc, output)

Hook method for setting up the test before exercising it.

Source code in pyrevitlib/pyrevit/preflight/case.py
def setUp(self, doc, output):
    """Hook method for setting up the test before exercising it."""
    pass
startTest(doc, output)

Hook method for exercising the test.

Source code in pyrevitlib/pyrevit/preflight/case.py
def startTest(self, doc, output):
    """Hook method for exercising the test."""
    pass
tearDown(doc, output)

Hook method for deconstructing the test after testing it.

Source code in pyrevitlib/pyrevit/preflight/case.py
def tearDown(self, doc, output):
    """Hook method for deconstructing the test after testing it."""
    pass
doCleanups(doc, output)

Execute all cleanup functions. Normally called after tearDown.

Source code in pyrevitlib/pyrevit/preflight/case.py
def doCleanups(self, doc, output):
    """Execute all cleanup functions. Normally called after tearDown."""
    pass