diff options
Diffstat (limited to 'test/git/test_repo.py')
-rw-r--r-- | test/git/test_repo.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/git/test_repo.py b/test/git/test_repo.py index 3c323878..036ae1e9 100644 --- a/test/git/test_repo.py +++ b/test/git/test_repo.py @@ -194,10 +194,12 @@ class TestRepo(object): @patch('git.utils', 'touch') def test_enable_daemon_serve(self, touch): - self.repo.enable_daemon_serve + self.repo.daemon_serve = False + assert_false(self.repo.daemon_serve) def test_disable_daemon_serve(self): - self.repo.disable_daemon_serve + self.repo.daemon_serve = True + assert_true(self.repo.daemon_serve) # @patch(os.path, 'exists') # @patch('__builtin__', 'open') |