~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_too_much.py

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
        test.runbzr('add goodbye')
148
148
        test.runbzr('commit -m setup goodbye')
149
149
 
150
 
    def test_inventory(self):
151
 
        bzr = self.runbzr
152
 
        def output_equals(value, *args):
153
 
            out = self.runbzr(['inventory'] + list(args), backtick=True)
154
 
            self.assertEquals(out, value)
155
 
 
156
 
        bzr('init')
157
 
        open('a', 'wb').write('hello\n')
158
 
        os.mkdir('b')
159
 
 
160
 
        bzr('add a b')
161
 
        bzr('commit -m add')
162
 
 
163
 
        output_equals('a\n', '--kind', 'file')
164
 
        output_equals('b\n', '--kind', 'directory')
165
 
 
166
150
    def test_pull_verbose(self):
167
151
        """Pull changes from one branch to another and watch the output."""
168
152