~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2006-09-25 21:55:05 UTC
  • mfrom: (2041 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2042.
  • Revision ID: aaron.bentley@utoronto.ca-20060925215505-d29f14c3fc73fdc3
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