diff options
Diffstat (limited to 'tests/test_git_command.py')
-rw-r--r-- | tests/test_git_command.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_git_command.py b/tests/test_git_command.py index ff0d395d..96408a23 100644 --- a/tests/test_git_command.py +++ b/tests/test_git_command.py | |||
@@ -117,7 +117,8 @@ class GitRequireTests(unittest.TestCase): | |||
117 | """Test the git_require helper.""" | 117 | """Test the git_require helper.""" |
118 | 118 | ||
119 | def setUp(self): | 119 | def setUp(self): |
120 | ver = wrapper.GitVersion(1, 2, 3, 4) | 120 | self.wrapper = wrapper.Wrapper() |
121 | ver = self.wrapper.GitVersion(1, 2, 3, 4) | ||
121 | mock.patch.object(git_command.git, 'version_tuple', return_value=ver).start() | 122 | mock.patch.object(git_command.git, 'version_tuple', return_value=ver).start() |
122 | 123 | ||
123 | def tearDown(self): | 124 | def tearDown(self): |