mirror of https://gitlab.com/bashrc2/epicyon
Remove unit tests from dot diagram
parent
76a634b9dd
commit
549faf8b85
4
tests.py
4
tests.py
|
@ -2867,6 +2867,8 @@ def testFunctions():
|
||||||
callGraphStr += ' node [style=filled];\n'
|
callGraphStr += ' node [style=filled];\n'
|
||||||
moduleFunctionsStr = ''
|
moduleFunctionsStr = ''
|
||||||
for name in modProperties['functions']:
|
for name in modProperties['functions']:
|
||||||
|
if name.startswith('test'):
|
||||||
|
continue
|
||||||
if name not in excludeFuncs:
|
if name not in excludeFuncs:
|
||||||
moduleFunctionsStr += '"' + name + '" '
|
moduleFunctionsStr += '"' + name + '" '
|
||||||
if moduleFunctionsStr:
|
if moduleFunctionsStr:
|
||||||
|
@ -2878,6 +2880,8 @@ def testFunctions():
|
||||||
if not properties['calls']:
|
if not properties['calls']:
|
||||||
continue
|
continue
|
||||||
for calledFunc in properties['calls']:
|
for calledFunc in properties['calls']:
|
||||||
|
if calledFunc.startswith('test'):
|
||||||
|
continue
|
||||||
if calledFunc not in excludeFuncs:
|
if calledFunc not in excludeFuncs:
|
||||||
callGraphStr += ' "' + name + '" -> "' + calledFunc + '";\n'
|
callGraphStr += ' "' + name + '" -> "' + calledFunc + '";\n'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue