diff options
author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-04 10:40:19 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-11 19:18:10 +0200 |
commit | 53c15282a84e20ebe0a220ff1421ae29351a1bf3 (patch) | |
tree | 0e53e2d5b32b47f3d74a06236ab3e13f5ed66508 | |
parent | 3eacf90dff73ab7578cec1ba0d82930ef3044663 (diff) | |
download | gitpython-53c15282a84e20ebe0a220ff1421ae29351a1bf3.tar.gz |
hidden win_errors: mark also git-daemon errors failing
-rw-r--r-- | git/test/test_base.py | 11 | ||||
-rw-r--r-- | git/test/test_remote.py | 6 |
2 files changed, 17 insertions, 0 deletions
diff --git a/git/test/test_base.py b/git/test/test_base.py index a4382d3e..2956f3d4 100644 --- a/git/test/test_base.py +++ b/git/test/test_base.py @@ -110,6 +110,17 @@ class TestBase(TestBase): 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") diff --git a/git/test/test_remote.py b/git/test/test_remote.py index 7b52ccce..e0b00e0c 100644 --- a/git/test/test_remote.py +++ b/git/test/test_remote.py @@ -384,6 +384,12 @@ class TestRemote(TestBase): 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 |