From 549faf8b8507230783184850e2ce91644b8b3b1a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 23 Dec 2020 14:19:06 +0000 Subject: [PATCH] Remove unit tests from dot diagram --- tests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests.py b/tests.py index fdf111f4f..ec4a2b830 100644 --- a/tests.py +++ b/tests.py @@ -2867,6 +2867,8 @@ def testFunctions(): callGraphStr += ' node [style=filled];\n' moduleFunctionsStr = '' for name in modProperties['functions']: + if name.startswith('test'): + continue if name not in excludeFuncs: moduleFunctionsStr += '"' + name + '" ' if moduleFunctionsStr: @@ -2878,6 +2880,8 @@ def testFunctions(): if not properties['calls']: continue for calledFunc in properties['calls']: + if calledFunc.startswith('test'): + continue if calledFunc not in excludeFuncs: callGraphStr += ' "' + name + '" -> "' + calledFunc + '";\n'