From e7bbada49300f987ae129147fffe244d0d7a4cb6 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Tue, 15 Nov 2011 19:30:03 +0100 Subject: Move GitModifier class to separate file and introduce a new base exception for Git related errors. --- tests/test_GitModifier.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/test_GitModifier.py b/tests/test_GitModifier.py index d463c2ea..1a5b27c4 100644 --- a/tests/test_GitModifier.py +++ b/tests/test_GitModifier.py @@ -20,4 +20,8 @@ def test_author(): {'GIT_AUTHOR_EMAIL': 'bar', 'GIT_AUTHOR_NAME': 'foo'} >>> modifier.get_committer_env() {'GIT_COMMITTER_NAME': 'foo', 'GIT_COMMITTER_EMAIL': 'bar'} + >>> modifier._get_env('foo') + Traceback (most recent call last): + ... + GitModifierError: Neither comitter nor author """ -- cgit v1.2.3