Skip to content

Commit 127e511

Browse files
committed
Fixed bare related tests.
1 parent 4bf8e89 commit 127e511

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/git/test_repo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def test_init_bare(self, repo, git):
120120
Repo.init_bare("repos/foo/bar.git")
121121

122122
assert_true(git.called)
123-
assert_equal(git.call_args, (('init',), {}))
123+
assert_equal(git.call_args, (('init', '--bare'), {}))
124124
assert_true(repo.called)
125125
assert_equal(repo.call_args, (('repos/foo/bar.git',), {}))
126126

@@ -132,7 +132,7 @@ def test_init_bare_with_options(self, repo, git):
132132
Repo.init_bare("repos/foo/bar.git", **{'template': "/baz/sweet"})
133133

134134
assert_true(git.called)
135-
assert_equal(git.call_args, (('init',), {'template': '/baz/sweet'}))
135+
assert_equal(git.call_args, (('init', '--bare'), {'template': '/baz/sweet'}))
136136
assert_true(repo.called)
137137
assert_equal(repo.call_args, (('repos/foo/bar.git',), {}))
138138

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy