~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robey Pointer
  • Date: 2006-07-12 16:29:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1861.
  • Revision ID: robey@lag.net-20060712162939-7d27143c632e3b3a
change the warning message for a 'whoami' with no email address, on jam's recommendation

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
        """verify that a warning is displayed if no email is given."""
108
108
        self.make_branch_and_tree('.')
109
109
        display = self.run_bzr('whoami', 'Branch Identity')[1]
110
 
        self.assertEquals("'Branch Identity' doesn't seem to contain a " +
111
 
                          "reasonable email address\n", display)
 
110
        self.assertEquals('"Branch Identity" does not seem to contain an '
 
111
                          'email address.  This is allowed, but not '
 
112
                          'recommended.\n', display)