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_stats.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_stats.py')
-rw-r--r-- | test/git/test_stats.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/git/test_stats.py b/test/git/test_stats.py index 706f29a4..7392a96e 100644 --- a/test/git/test_stats.py +++ b/test/git/test_stats.py @@ -7,13 +7,11 @@ from test.testlib import * from git import * -class TestStats(object): - def setup(self): - self.repo = Repo(GIT_REPO) +class TestStats(TestBase): def test__list_from_string(self): output = fixture('diff_numstat') - stats = Stats._list_from_string(self.repo, output) + stats = Stats._list_from_string(self.rorepo, output) assert_equal(2, stats.total['files']) assert_equal(52, stats.total['lines']) |