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/run_hook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gitosis/run_hook.py') diff --git a/gitosis/run_hook.py b/gitosis/run_hook.py index a1ce0ad..230eb4f 100644 --- a/gitosis/run_hook.py +++ b/gitosis/run_hook.py @@ -33,7 +33,7 @@ def build_reposistory_data(config): config=config, ) -def post_update(cfg, git_dir): +def post_update(cfg, git_dir): #pragma: no cover """ post-update hook for the Gitosis admin directory. @@ -71,7 +71,7 @@ class Main(app.App): 'Perform gitosis actions for a git hook') return parser - def handle_args(self, parser, cfg, options, args): + def handle_args(self, parser, cfg, options, args): #pragma: no cover """Parse the input for this program.""" try: (hook,) = args -- cgit v1.2.3