/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tests/test_blackbox.py

Merge in dulwich.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        self.simple_commit()
41
41
        output, error = self.run_bzr(['info'])
42
42
        self.assertEqual(error, '')
43
 
        self.assertTrue("Repository branch (format: git)" in output)
 
43
        self.assertTrue("Repository tree (format: git)" in output)
44
44
 
45
45
    def test_branch(self):
46
46
        os.mkdir("gitbranch")
54
54
        os.chdir("..")
55
55
        output, error = self.run_bzr(['branch', 'gitbranch', 'bzrbranch'])
56
56
        self.assertEqual(error, 'Branched 1 revision(s).\n')
 
57
        self.assertEqual(output, '')
57
58
 
58
59
    def test_branch_ls(self):
59
60
        self.simple_commit()
69
70
 
70
71
        output, error = self.run_bzr(['info', '-v'])
71
72
        self.assertEqual(error, '')
72
 
        self.assertTrue("Repository branch (format: git)" in output)
 
73
        self.assertTrue("Repository tree (format: git)" in output)
73
74
        self.assertTrue("control: Local Git Repository" in output)
74
75
        self.assertTrue("branch: Git Branch" in output)
75
76
        self.assertTrue("repository: Git Repository" in output)
102
103
        self.assertEquals(output, "foo                  1\n")
103
104
 
104
105
    def test_tag(self):
 
106
        raise KnownFailure("setting tags not supported by git-python yet")
105
107
        self.simple_commit()
106
108
 
107
109
        output, error = self.run_bzr(["tag", "bar"])
108
110
 
109
111
        self.assertEquals(error, '')
110
 
        self.assertEquals(output, 'Created tag bar.\n')
 
112
        self.assertEquals(output, '')
111
113