From 436463e7874524b21d70bdd9bb2be8bae1d3441c Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 18 Dec 2007 00:53:27 -0800 Subject: Add more testcases, and add coverage exclusion notations on places where we do test the the content functions already, or they interact with the system too much to test for coverage automatically. --- gitosis/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gitosis/app.py') diff --git a/gitosis/app.py b/gitosis/app.py index ff44fed..3037923 100644 --- a/gitosis/app.py +++ b/gitosis/app.py @@ -81,7 +81,7 @@ class App(object): # ignore this particular error case raise ConfigFileDoesNotExistError(str(ex)) else: - raise CannotReadConfigError(str(ex)) + raise CannotReadConfigError(str(ex)) #pragma: no cover try: cfg.readfp(conffile) finally: @@ -107,7 +107,7 @@ class App(object): else: logging.root.setLevel(symbolic) - def handle_args(self, parser, cfg, options, args): + def handle_args(self, parser, cfg, options, args): #pragma: no cover """Abstract method for the non-option argument handling.""" if args: parser.error('not expecting arguments') -- cgit v1.2.3