class documentation

class VisualizeToolTests(TestCase): (source)

View In Hierarchy

Undocumented

Method collectPrints Undocumented
Method fakeFindMachines Undocumented
Method setUp Undocumented
Method test_checksCurrentDirectory tool adds '' to sys.path to ensure automat._discover.findMachines searches the current directory.
Method test_onlySaveDot Passing an empty string for --image-directory/-i disables rendering images.
Method test_quietHidesOutput Passing -q/--quiet hides all output.
Method test_saveDotAndImagesInDifferentDirectories Passing different directories to --image-directory and --dot-directory writes images and dot files to those directories.
Method test_saveDotAndImagesInSameDirectory Passing the same directory to --image-directory and --dot-directory writes images and dot files to that one directory.
Method test_saveOnlyImage Passing an empty string for --dot-directory/-d disables saving dot files.
Method tool Undocumented
Instance Variable collectedOutput Undocumented
Instance Variable digraphRecorder Undocumented
Instance Variable fakeDigraph Undocumented
Instance Variable fakeFQPN Undocumented
Instance Variable fakeProgname Undocumented
Instance Variable fakeSysPath Undocumented
def collectPrints(self, *args): (source)

Undocumented

def fakeFindMachines(self, fqpn): (source)

Undocumented

def setUp(self): (source)

Undocumented

def test_checksCurrentDirectory(self): (source)

tool adds '' to sys.path to ensure automat._discover.findMachines searches the current directory.

def test_onlySaveDot(self): (source)

Passing an empty string for --image-directory/-i disables rendering images.

def test_quietHidesOutput(self): (source)

Passing -q/--quiet hides all output.

def test_saveDotAndImagesInDifferentDirectories(self): (source)

Passing different directories to --image-directory and --dot-directory writes images and dot files to those directories.

def test_saveDotAndImagesInSameDirectory(self): (source)

Passing the same directory to --image-directory and --dot-directory writes images and dot files to that one directory.

def test_saveOnlyImage(self): (source)

Passing an empty string for --dot-directory/-d disables saving dot files.

def tool(self, progname=None, argv=None, syspath=None, findMachines=None, print=None): (source)

Undocumented

collectedOutput: list = (source)

Undocumented

digraphRecorder = (source)

Undocumented

fakeDigraph = (source)

Undocumented

fakeFQPN: str = (source)

Undocumented

fakeProgname: str = (source)

Undocumented

fakeSysPath: list[str] = (source)

Undocumented