2019-09-24 11:13:23 +02:00
|
|
|
Index: GitPython-3.0.2.1566444429.0765792/git/test/test_base.py
|
|
|
|
===================================================================
|
|
|
|
--- GitPython-3.0.2.1566444429.0765792.orig/git/test/test_base.py
|
|
|
|
+++ GitPython-3.0.2.1566444429.0765792/git/test/test_base.py
|
|
|
|
@@ -112,7 +112,7 @@ class TestBase(TestBase):
|
2019-03-15 14:45:17 +01:00
|
|
|
assert not rw_repo.config_reader("repository").getboolean("core", "bare")
|
|
|
|
assert osp.isdir(osp.join(rw_repo.working_tree_dir, 'lib'))
|
|
|
|
|
|
|
|
- #@skipIf(HIDE_WINDOWS_FREEZE_ERRORS, "FIXME: Freezes! sometimes...")
|
|
|
|
+ @skipIf(os.environ.get('SKIP_LOCALHOST', 'false') == 'true', 'git-daemon connection error')
|
|
|
|
@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")
|
2019-09-24 11:13:23 +02:00
|
|
|
Index: GitPython-3.0.2.1566444429.0765792/git/test/test_remote.py
|
|
|
|
===================================================================
|
|
|
|
--- GitPython-3.0.2.1566444429.0765792.orig/git/test/test_remote.py
|
|
|
|
+++ GitPython-3.0.2.1566444429.0765792/git/test/test_remote.py
|
2019-03-15 14:45:17 +01:00
|
|
|
@@ -4,6 +4,7 @@
|
|
|
|
# This module is part of GitPython and is released under
|
|
|
|
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
+import os
|
|
|
|
import random
|
|
|
|
import tempfile
|
|
|
|
from unittest import skipIf
|
2019-11-17 08:46:39 +01:00
|
|
|
@@ -410,7 +411,7 @@ class TestRemote(TestBase):
|
2019-03-15 14:45:17 +01:00
|
|
|
TagReference.delete(rw_repo, new_tag, other_tag)
|
|
|
|
remote.push(":%s" % other_tag.path)
|
|
|
|
|
|
|
|
- @skipIf(HIDE_WINDOWS_FREEZE_ERRORS, "FIXME: Freezes!")
|
|
|
|
+ @skipIf(os.environ.get('SKIP_LOCALHOST', 'false') == 'true', 'git-daemon connection error')
|
|
|
|
@with_rw_and_rw_remote_repo('0.1.6')
|
|
|
|
def test_base(self, rw_repo, remote_repo):
|
|
|
|
num_remotes = 0
|
2019-11-17 08:46:39 +01:00
|
|
|
@@ -643,6 +644,7 @@ class TestRemote(TestBase):
|
2019-03-15 14:45:17 +01:00
|
|
|
# will raise fatal: Will not delete all non-push URLs
|
|
|
|
assert_raises(GitCommandError, remote.delete_url, test3)
|
|
|
|
|
|
|
|
+ @skipIf(os.environ.get('SKIP_GITHUB', 'false') == 'true', 'GitHub connection error')
|
|
|
|
def test_fetch_error(self):
|
|
|
|
rem = self.rorepo.remote('origin')
|
2019-09-24 11:13:23 +02:00
|
|
|
with self.assertRaisesRegex(GitCommandError, "[Cc]ouldn't find remote ref __BAD_REF__"):
|