Skip to content

Commit c1a2d20

Browse files
committed
hidden win_errors: mark also git-daemon errors failing
1 parent 32dce8e commit c1a2d20

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

Diff for: git/test/test_base.py

+11
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,17 @@ def test_with_rw_repo(self, rw_repo):
110110
assert not rw_repo.config_reader("repository").getboolean("core", "bare")
111111
assert os.path.isdir(os.path.join(rw_repo.working_tree_dir, 'lib'))
112112

113+
# @skipIf(HIDE_WINDOWS_KNOWN_ERRORS, """
114+
# FIXME: helper.wrapper fails with:
115+
# PermissionError: [WinError 5] Access is denied:
116+
# 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\test_work_tree_unsupportedryfa60di\\
117+
# master_repo\\.git\\objects\\pack\\pack-bc9e0787aef9f69e1591ef38ea0a6f566ec66fe3.idx'
118+
# AND
119+
# FIXME: git-daemon failing with:
120+
# git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
121+
# cmdline: git ls-remote daemon_origin
122+
# stderr: 'fatal: bad config line 15 in file .git/config'
123+
# """)
113124
@with_rw_and_rw_remote_repo('0.1.6')
114125
def test_with_rw_remote_and_rw_repo(self, rw_repo, rw_remote_repo):
115126
assert not rw_repo.config_reader("repository").getboolean("core", "bare")

Diff for: git/test/test_remote.py

+6
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,12 @@ def _assert_push_and_pull(self, remote, rw_repo, remote_repo):
384384
TagReference.delete(rw_repo, new_tag, other_tag)
385385
remote.push(":%s" % other_tag.path)
386386

387+
# @skipIf(HIDE_WINDOWS_KNOWN_ERRORS, """
388+
# FIXME: git-daemon failing with:
389+
# git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
390+
# cmdline: git ls-remote daemon_origin
391+
# stderr: 'fatal: bad config line 15 in file .git/config'
392+
# """)
387393
@with_rw_and_rw_remote_repo('0.1.6')
388394
def test_base(self, rw_repo, remote_repo):
389395
num_remotes = 0

0 commit comments

Comments
 (0)