From fbcc42775492e5ba3df1b3235a23f23ad7faa241 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 21 Dec 2010 12:19:26 -0600 Subject: pactest: allow testing of package description And modify the code to not print the full rule string if it is more than 40 characters long; truncate it instead. Signed-off-by: Dan McGee --- test/pacman/pmtest.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'test/pacman/pmtest.py') diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py index b7af5809..c70e41ae 100755 --- a/test/pacman/pmtest.py +++ b/test/pacman/pmtest.py @@ -260,11 +260,6 @@ class pmtest: self.result["fail"] += 1 else: msg = "SKIP" - print "\t[%s] %s" % (msg, i.rule) - i.result = success - - -if __name__ == "__main__": - pass + print "\t[%s] %s" % (msg, i) # vim: set ts=4 sw=4 et: -- cgit v1.2.3