~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robey Pointer
  • Date: 2006-07-01 19:03:33 UTC
  • mfrom: (1829 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1830.
  • Revision ID: robey@lag.net-20060701190333-f58465aec4bd3412
merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
        
71
71
        out, err = self.run_bzr('init', 'subdir2/nothere', retcode=3)
72
72
        self.assertEqual('', out)
73
 
        self.failUnless(err.startswith(
74
 
            'bzr: ERROR: exceptions.OSError: '
75
 
            '[Errno 2] No such file or directory: '))
 
73
        self.assertContainsRe(err,
 
74
            r'^bzr: ERROR: .*'
 
75
            '\[Errno 2\] No such file or directory: ')
76
76
        
77
77
        os.mkdir('subdir2')
78
78
        out, err = self.run_bzr('init', 'subdir2')