diff options
author | Michael Trier <mtrier@gmail.com> | 2008-08-18 13:39:27 -0400 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2008-08-18 13:39:27 -0400 |
commit | 127e511ea2e22f3bd9a0279e747e9cfa9509986d (patch) | |
tree | e2f10b1aa474a29bdb6421598eea9fc9d9f044a4 | |
parent | 4bf8e89e6784e121ddc32990d586e2276ec84596 (diff) | |
download | gitpython-127e511ea2e22f3bd9a0279e747e9cfa9509986d.tar.gz |
Fixed bare related tests.
-rw-r--r-- | test/git/test_repo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/git/test_repo.py b/test/git/test_repo.py index e720856b..7550e1d6 100644 --- a/test/git/test_repo.py +++ b/test/git/test_repo.py @@ -120,7 +120,7 @@ class TestRepo(object): Repo.init_bare("repos/foo/bar.git") assert_true(git.called) - assert_equal(git.call_args, (('init',), {})) + assert_equal(git.call_args, (('init', '--bare'), {})) assert_true(repo.called) assert_equal(repo.call_args, (('repos/foo/bar.git',), {})) @@ -132,7 +132,7 @@ class TestRepo(object): Repo.init_bare("repos/foo/bar.git", **{'template': "/baz/sweet"}) assert_true(git.called) - assert_equal(git.call_args, (('init',), {'template': '/baz/sweet'})) + assert_equal(git.call_args, (('init', '--bare'), {'template': '/baz/sweet'})) assert_true(repo.called) assert_equal(repo.call_args, (('repos/foo/bar.git',), {})) |