Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-vcs/git-cola/files: git-cola-2.2.1-disable-live-tests.patch git-cola-2.2.1-update-git-config-in-tests.patch
Date: Wed, 29 Jul 2015 07:45:15
Message-Id: 20150729074509.CF231113@oystercatcher.gentoo.org
1 jlec 15/07/29 07:45:09
2
3 Added: git-cola-2.2.1-disable-live-tests.patch
4 git-cola-2.2.1-update-git-config-in-tests.patch
5 Log:
6 Version Bump, bug #554456; thanks Coacher for all the work
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
9
10 Revision Changes Path
11 1.1 dev-vcs/git-cola/files/git-cola-2.2.1-disable-live-tests.patch
12
13 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
14 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
15
16 Index: git-cola-2.2.1-disable-live-tests.patch
17 ===================================================================
18 diff --git a/test/git_test.py b/test/git_test.py
19 index 9f812b2..ff7da24 100644
20 --- a/test/git_test.py
21 +++ b/test/git_test.py
22 @@ -53,17 +53,6 @@ class GitCommandTest(unittest.TestCase):
23 version = self.git.version()[STDOUT]
24 self.failUnless(version.startswith('git version'))
25
26 - def test_tag(self):
27 - """Test running 'git tag'"""
28 - tags = self.git.tag()[STDOUT].splitlines()
29 - self.failUnless( 'v1.0.0' in tags )
30 -
31 - def test_show(self):
32 - """Test running 'git show'"""
33 - sha = '1b9742bda5d26a4f250fa64657f66ed20624a084'
34 - contents = self.git.show(sha)[STDOUT].splitlines()
35 - self.failUnless(contents[0] == '/build')
36 -
37 def test_stdout(self):
38 """Test overflowing the stdout buffer"""
39 # Write to stdout only
40
41
42
43 1.1 dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch
44
45 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
46 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
47
48 Index: git-cola-2.2.1-update-git-config-in-tests.patch
49 ===================================================================
50 diff --git a/test/helper.py b/test/helper.py
51 index 006a5b1..64d0dfc 100644
52 --- a/test/helper.py
53 +++ b/test/helper.py
54 @@ -87,6 +87,8 @@ class GitRepositoryTestCase(TmpPathTestCase):
55
56 def initialize_repo(self):
57 self.git('init')
58 + self.git('config', '--local', 'user.name', 'Your Name')
59 + self.git('config', '--local', 'user.email', 'you@×××××××.com')
60 self.touch('A', 'B')
61 self.git('add', 'A', 'B')