/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

Fix tests now that git repositories are non-shared by default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        self.simple_commit()
55
55
        output, error = self.run_bzr(['info'])
56
56
        self.assertEqual(error, '')
57
 
        self.assertTrue("Repository branch (format: git)" in output)
 
57
        self.assertTrue("Standalone branch (format: git)" in output)
58
58
 
59
59
    def test_branch(self):
60
60
        os.mkdir("gitbranch")
83
83
 
84
84
        output, error = self.run_bzr(['info', '-v'])
85
85
        self.assertEqual(error, '')
86
 
        self.assertTrue("Repository branch (format: git)" in output)
 
86
        self.assertTrue("Standalone branch (format: git)" in output)
87
87
        self.assertTrue("control: Local Git Repository" in output)
88
88
        self.assertTrue("branch: Git Branch" in output)
89
89
        self.assertTrue("repository: Git Repository" in output)
134
134
    def test_init_repo(self):
135
135
        output, error = self.run_bzr(["init-repo", "--git", "bla.git"])
136
136
        self.assertEquals(error, '')
137
 
        self.assertEquals(output, 'Shared repository with trees (format: git)\nLocation:\n  shared repository: bla.git\n')
 
137
        self.assertEquals(output, 'Unshared repository with trees (format: git)\nLocation:\n  repository: bla.git\n')
138
138