/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

Use transports in git-import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        self.assertEqual(output, "a\n")
77
77
 
78
78
    def test_init(self):
79
 
        self.run_bzr("init-repo --git repo") 
 
79
        self.run_bzr("init --git repo") 
80
80
 
81
81
    def test_info_verbose(self):
82
82
        self.simple_commit()
128
128
 
129
129
        output, error = self.run_bzr(["tag", "bar"])
130
130
 
131
 
        self.assertEquals(error, '')
132
 
        self.assertEquals(output, 'Created tag bar.\n')
 
131
        # bzr <= 2.2 emits this message in the output stream
 
132
        # bzr => 2.3 emits this message in the error stream
 
133
        self.assertEquals(error + output, 'Created tag bar.\n')
133
134
 
134
135
    def test_init_repo(self):
135
 
        output, error = self.run_bzr(["init-repo", "--git", "bla.git"])
 
136
        output, error = self.run_bzr(["init", "--git", "bla.git"])
136
137
        self.assertEquals(error, '')
137
 
        self.assertEquals(output, 'Unshared repository with trees (format: git)\nLocation:\n  repository: bla.git\n')
 
138
        self.assertEquals(output, 'Created a standalone tree (format: git)\n')
138
139