Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 554456 | Differences between
and this patch

Collapse All | Expand All

(-)a/test/git_test.py (-11 lines)
Lines 53-69 class GitCommandTest(unittest.TestCase): Link Here
53
        version = self.git.version()[STDOUT]
53
        version = self.git.version()[STDOUT]
54
        self.failUnless(version.startswith('git version'))
54
        self.failUnless(version.startswith('git version'))
55
55
56
    def test_tag(self):
57
        """Test running 'git tag'"""
58
        tags = self.git.tag()[STDOUT].splitlines()
59
        self.failUnless( 'v1.0.0' in tags )
60
61
    def test_show(self):
62
        """Test running 'git show'"""
63
        sha = '1b9742bda5d26a4f250fa64657f66ed20624a084'
64
        contents = self.git.show(sha)[STDOUT].splitlines()
65
        self.failUnless(contents[0] == '/build')
66
67
    def test_stdout(self):
56
    def test_stdout(self):
68
        """Test overflowing the stdout buffer"""
57
        """Test overflowing the stdout buffer"""
69
        # Write to stdout only
58
        # Write to stdout only

Return to bug 554456