jlec 15/07/29 07:45:09
Added: git-cola-2.2.1-disable-live-tests.patch
git-cola-2.2.1-update-git-config-in-tests.patch
Log:
Version Bump, bug #554456; thanks Coacher for all the work
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key
E9402A79B03529A2!)
Revision Changes Path
1.1
dev-vcs/git-cola/files/git-cola-2.2.1-disable-live-tests.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/files/git-cola-2.2.1-disable-live-tests.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/files/git-cola-2.2.1-disable-live-tests.patch?rev=1.1&content-type=text/plain
Index: git-cola-2.2.1-disable-live-tests.patch
===================================================================
diff --git a/test/git_test.py b/test/git_test.py
index 9f812b2..ff7da24 100644
--- a/test/git_test.py
+++ b/test/git_test.py
@@ -53,17 +53,6 @@ class GitCommandTest(unittest.TestCase):
version = self.git.version()[STDOUT]
self.failUnless(version.startswith('git version'))
- def test_tag(self):
- """Test running 'git tag'"""
- tags = self.git.tag()[STDOUT].splitlines()
- self.failUnless( 'v1.0.0' in tags )
-
- def test_show(self):
- """Test running 'git show'"""
- sha = '1b9742bda5d26a4f250fa64657f66ed20624a084'
- contents = self.git.show(sha)[STDOUT].splitlines()
- self.failUnless(contents[0] == '/build')
-
def test_stdout(self):
"""Test overflowing the stdout buffer"""
# Write to stdout only
1.1
dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch?rev=1.1&content-type=text/plain
Index: git-cola-2.2.1-update-git-config-in-tests.patch
===================================================================
diff --git a/test/helper.py b/test/helper.py
index 006a5b1..64d0dfc 100644
--- a/test/helper.py
+++ b/test/helper.py
@@ -87,6 +87,8 @@ class GitRepositoryTestCase(TmpPathTestCase):
def initialize_repo(self):
self.git('init')
+ self.git('config', '--local', 'user.name', 'Your Name')
+ self.git('config', '--local', 'user.email', '[email protected]')
self.touch('A', 'B')
self.git('add', 'A', 'B')