diff options
author | Michael Trier <mtrier@gmail.com> | 2010-03-03 23:46:23 -0500 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2010-03-03 23:46:23 -0500 |
commit | e3e2c8c14b861b4d4865a9574e812ef9f2609771 (patch) | |
tree | c71c7da3843389ea3b7041a0200d7abe3b0e580d /test/git/test_repo.py | |
parent | acb0fa8b94ef421ad60c8507b634759a472cd56c (diff) | |
download | gitpython-e3e2c8c14b861b4d4865a9574e812ef9f2609771.tar.gz |
Corrected a bunch of whitespace that makes some folks crazy. Added Sebastian to the AUTHORS file.
Diffstat (limited to 'test/git/test_repo.py')
-rw-r--r-- | test/git/test_repo.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/git/test_repo.py b/test/git/test_repo.py index abf17be8..19fb0691 100644 --- a/test/git/test_repo.py +++ b/test/git/test_repo.py @@ -1,5 +1,5 @@ # test_repo.py -# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors +# Copyright (C) 2008-2010 Michael Trier (mtrier@gmail.com) and contributors # # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php @@ -12,7 +12,7 @@ from git import * class TestRepo(object): def setup(self): self.repo = Repo(GIT_REPO) - + @raises(InvalidGitRepositoryError) def test_new_should_raise_on_invalid_repo_location(self): if sys.platform == "win32": @@ -199,12 +199,12 @@ class TestRepo(object): self.repo.archive_tar_gz() def test_disable_daemon_export(self): - prev_value = self.repo.daemon_export + prev_value = self.repo.daemon_export self.repo.daemon_export = not prev_value assert_equal(self.repo.daemon_export, not prev_value) self.repo.daemon_export = prev_value assert_equal(self.repo.daemon_export, prev_value) - + def test_alternates(self): cur_alternates = self.repo.alternates # empty alternates |