summaryrefslogtreecommitdiff
path: root/git/test/test_base.py
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-10-04 14:29:28 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-10-12 23:31:43 +0200
commit4b586fbb94d5acc6e06980a8a96f66771280beda (patch)
tree87f63f2916114b56ade83d0b9653d1d4b61f263c /git/test/test_base.py
parent8ea7e265d1549613c12cbe42a2e012527c1a97e4 (diff)
downloadgitpython-4b586fbb94d5acc6e06980a8a96f66771280beda.tar.gz
daemon, #525: FIX remote urls in config-files
+ Parse most remote & config-urls \-->/. + Used relative daemon-paths. + Use git-daemon PORT above 10k; on Windows all below need Admin rights. +FIXED git-daemon @with_rw_and_rw_remote_repo(): + test_base.test_with_rw_remote_and_rw_repo() PASS. + test_remote.test_base() now freezes! (so still hidden win_err) + repo_test: minor finally delete test-repos created inside this repo. + util: delete unused `absolute_project_path()`.
Diffstat (limited to 'git/test/test_base.py')
-rw-r--r--git/test/test_base.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/git/test/test_base.py b/git/test/test_base.py
index 2956f3d4..a4382d3e 100644
--- a/git/test/test_base.py
+++ b/git/test/test_base.py
@@ -110,17 +110,6 @@ 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")