diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-03-25 15:57:24 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-11-14 14:22:07 +0200 |
commit | 774cb7a57ed2bc8af1b8ed0ef10cf758587d8992 (patch) | |
tree | 4e88d6bc312909a30b25d86f9d3cd83be339b59c /tests/09_test_write_tree.py | |
parent | 1a7899b14bc8bb207913be97d37671c7841e4edf (diff) | |
download | git-buildpackage-774cb7a57ed2bc8af1b8ed0ef10cf758587d8992.tar.gz git-buildpackage-774cb7a57ed2bc8af1b8ed0ef10cf758587d8992.tar.bz2 git-buildpackage-774cb7a57ed2bc8af1b8ed0ef10cf758587d8992.zip |
GitRepository: raise GitRepositoryError instead of GbpError
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'tests/09_test_write_tree.py')
-rw-r--r-- | tests/09_test_write_tree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/09_test_write_tree.py b/tests/09_test_write_tree.py index 7147da50..55a1da60 100644 --- a/tests/09_test_write_tree.py +++ b/tests/09_test_write_tree.py @@ -62,7 +62,7 @@ class TestWriteTree(testutils.DebianGitTestRepo): # commit the same tree again using the previous commit as parent self.repo.commit_tree(sha1, "second commit", parents=[commit]) # commit the same tree again using a non existant parent - self.assertRaises(gbp.errors.GbpError, + self.assertRaises(gbp.git.GitRepositoryError, self.repo.commit_tree, sha1, "failed commit", |