Unittest - Helpers to manage hook scripts during tests

This commit is contained in:
Renato Alves 2014-10-08 20:29:56 +01:00
parent 0a234ec2ba
commit 72823a453f
2 changed files with 135 additions and 1 deletions

View file

@ -28,4 +28,8 @@ class CommandError(Exception):
def __str__(self):
return self.msg.format(self.cmd, self.code, self.out, self.err)
class HookError(Exception):
pass
# vim: ai sts=4 et sw=4