/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 breezy/tests/blackbox/test_ls.py

  • Committer: Jelmer Vernooij
  • Date: 2018-03-24 17:48:04 UTC
  • mfrom: (6921 work)
  • mto: This revision was merged to the branch mainline in revision 6923.
  • Revision ID: jelmer@jelmer.uk-20180324174804-xf22o05byoj12x1q
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
        self.wt = self.make_branch_and_tree('.')
35
35
        self.build_tree_contents([
36
 
                                 ('.bzrignore', b'*.pyo\n'),
37
 
                                 ('a', b'hello\n'),
 
36
                                 ('.bzrignore', '*.pyo\n'),
 
37
                                 ('a', 'hello\n'),
38
38
                                 ])
39
39
 
40
40
    def ls_equals(self, value, args=None, recursive=True, working_dir=None):
97
97
 
98
98
    def test_show_ids(self):
99
99
        self.build_tree(['subdir/'])
100
 
        self.wt.add(['a', 'subdir'], [b'a-id', b'subdir-id'])
 
100
        self.wt.add(['a', 'subdir'], ['a-id', 'subdir-id'])
101
101
        self.ls_equals(
102
102
            '.bzrignore                                         \n'
103
103
            'a                                                  a-id\n'
247
247
    def test_simple_ls(self):
248
248
        self.setup_smart_server_with_call_log()
249
249
        t = self.make_branch_and_tree('branch')
250
 
        self.build_tree_contents([('branch/foo', b'thecontents')])
 
250
        self.build_tree_contents([('branch/foo', 'thecontents')])
251
251
        t.add("foo")
252
252
        t.commit("message")
253
253
        self.reset_smart_call_log()