From 12edb72d1004a29d48705892c0b7dcb4712e2322 Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Date: Sat, 19 Mar 2011 12:39:37 +0100 Subject: [PATCH] tests: remove unuseful testParseLogDir() The test was checking the .parse() method which is gone. The checks previously done in that method are not done in Trace constructor, so the path is already excercised by the other tests. --- pybootchartgui/tests/parser_test.py | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/pybootchartgui/tests/parser_test.py b/pybootchartgui/tests/parser_test.py index c9adeea..9bd31f3 100644 --- a/pybootchartgui/tests/parser_test.py +++ b/pybootchartgui/tests/parser_test.py @@ -94,11 +94,7 @@ class TestBCParser(unittest.TestCase): self.assert_(floatEq(float(tokens[1]), sample.user)) self.assert_(floatEq(float(tokens[2]), sample.sys)) self.assert_(floatEq(float(tokens[3]), sample.io)) - - def testParseLogDir(self): - res = parsing.parse(writer, [self.rootdir], False, None, None) - self.assertEqual(6, len(res)) - + if __name__ == '__main__': unittest.main()