diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-22 16:20:24 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-22 16:20:24 +0200 |
commit | b197b2dbb527de9856e6e808339ab0ceaf0a512d (patch) | |
tree | 4dcb21b565410c48878be31deebbb441201d542b /test/git/test_git.py | |
parent | 3c770f8e98a0079497d3eb5bc31e7260cc70cc63 (diff) | |
download | gitpython-b197b2dbb527de9856e6e808339ab0ceaf0a512d.tar.gz |
Adjusted all remaining test suites to use the new TestBase class where appropriate
Diffstat (limited to 'test/git/test_git.py')
-rw-r--r-- | test/git/test_git.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/git/test_git.py b/test/git/test_git.py index 1f44aebc..c4a39e85 100644 --- a/test/git/test_git.py +++ b/test/git/test_git.py @@ -8,9 +8,11 @@ import os, sys from test.testlib import * from git import Git, GitCommandError -class TestGit(object): - def setup(self): - self.git = Git(GIT_REPO) +class TestGit(TestCase): + + @classmethod + def setUpAll(cls): + cls.git = Git(GIT_REPO) @patch_object(Git, 'execute') def test_call_process_calls_execute(self, git): |