From 127e511ea2e22f3bd9a0279e747e9cfa9509986d Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Mon, 18 Aug 2008 13:39:27 -0400 Subject: Fixed bare related tests. --- test/git/test_repo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/git/test_repo.py') 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',), {})) -- cgit v1.2.1