diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/XiteWin.py | 9 | ||||
-rw-r--r-- | test/simpleTests.py | 5 |
2 files changed, 9 insertions, 5 deletions
diff --git a/test/XiteWin.py b/test/XiteWin.py index 71234cbd6..882d2f657 100644 --- a/test/XiteWin.py +++ b/test/XiteWin.py @@ -609,7 +609,7 @@ class XiteWin(): print() print("\n".join(sorted(self.ed.used))) - def CmdUncalled(self): + def Uncalled(self): print() unused = sorted(self.ed.all.difference(self.ed.used)) uu = {} @@ -617,9 +617,8 @@ class XiteWin(): v = self.ed.getvalue(u) if v > 2000: uu[v] = u - for x in sorted(uu.keys())[150:]: - print(x, uu[x]) - print() + #~ for x in sorted(uu.keys())[150:]: + return uu def CmdExit(self): self.Exit() @@ -648,3 +647,5 @@ def main(test): global xiteFrame xiteFrame = XiteWin(test) xiteFrame.AppLoop() + #~ xiteFrame.CmdExercised() + return xiteFrame.Uncalled() diff --git a/test/simpleTests.py b/test/simpleTests.py index 2793361b2..0440b99ae 100644 --- a/test/simpleTests.py +++ b/test/simpleTests.py @@ -1150,4 +1150,7 @@ class TestAutoComplete(unittest.TestCase): #~ nf = x + "\\" + n #~ print os.access(nf, os.R_OK), nf if __name__ == '__main__': - XiteWin.main("simpleTests") + uu = XiteWin.main("simpleTests") + #~ for x in sorted(uu.keys()): + #~ print(x, uu[x]) + #~ print() |