~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge bzr.ab.integration

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
       ),
239
239
            out)
240
240
        self.assertEqual('', err)
 
241
 
 
242
    def test_info_parent(self):
 
243
        b = self.make_branch('.')
 
244
        url = 'http://bazaar-vcs.org/bzr/bzr.dev/'
 
245
        b.set_parent(url)
 
246
        out,err = self.runbzr('info')
 
247
        self.assertEqualDiff(
 
248
"""branch format: Bazaar-NG branch, format 6
 
249
 
 
250
in the working tree:
 
251
         0 unchanged
 
252
         0 modified
 
253
         0 added
 
254
         0 removed
 
255
         0 renamed
 
256
         0 unknown
 
257
         0 ignored
 
258
         0 versioned subdirectories
 
259
 
 
260
branch history:
 
261
         0 revisions
 
262
         0 committers
 
263
 
 
264
revision store:
 
265
         0 revisions
 
266
         0 kB
 
267
 
 
268
parent location:
 
269
  http://bazaar-vcs.org/bzr/bzr.dev/
 
270
""", out)
 
271
        self.assertEqual('', err)
 
272