Skip to content

Commit

Permalink
hidden win_errors: mark also git-daemon errors failing
Browse files Browse the repository at this point in the history
  • Loading branch information
ankostis committed Oct 4, 2016
1 parent 382a546 commit b57cedb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions git/test/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,17 @@ def test_with_rw_repo(self, rw_repo):
assert not rw_repo.config_reader("repository").getboolean("core", "bare")
assert os.path.isdir(os.path.join(rw_repo.working_tree_dir, 'lib'))

# @skipIf(HIDE_WINDOWS_KNOWN_ERRORS, """
# FIXME: helper.wrapper fails with:
# PermissionError: [WinError 5] Access is denied:
# 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\test_work_tree_unsupportedryfa60di\\
# master_repo\\.git\\objects\\pack\\pack-bc9e0787aef9f69e1591ef38ea0a6f566ec66fe3.idx'
# AND
# FIXME: git-daemon failing with:
# git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
# cmdline: git ls-remote daemon_origin
# stderr: 'fatal: bad config line 15 in file .git/config'
# """)
@with_rw_and_rw_remote_repo('0.1.6')
def test_with_rw_remote_and_rw_repo(self, rw_repo, rw_remote_repo):
assert not rw_repo.config_reader("repository").getboolean("core", "bare")
Expand Down
6 changes: 6 additions & 0 deletions git/test/test_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,12 @@ def _assert_push_and_pull(self, remote, rw_repo, remote_repo):
TagReference.delete(rw_repo, new_tag, other_tag)
remote.push(":%s" % other_tag.path)

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

0 comments on commit b57cedb

Please sign in to comment.