~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_trace.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-23 17:00:36 UTC
  • mfrom: (4032.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090223170036-3q1v68ewdt8i0to5
(Marius Kruger) Remove all trailing whitespace and add tests to
        enforce this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
        self.log(u'the unicode character for benzene is \N{BENZENE RING}')
121
121
        self.assertContainsRe(self._get_log(keep_log_file=True),
122
122
                              "the unicode character for benzene is")
123
 
    
 
123
 
124
124
    def test_trace_argument_unicode(self):
125
125
        """Write a Unicode argument to the trace log"""
126
126
        mutter(u'the unicode character for benzene is %s', u'\N{BENZENE RING}')
186
186
    def test_push_log_file(self):
187
187
        """Can push and pop log file, and this catches mutter messages.
188
188
 
189
 
        This is primarily for use in the test framework. 
 
189
        This is primarily for use in the test framework.
190
190
        """
191
191
        tmp1 = tempfile.NamedTemporaryFile()
192
192
        tmp2 = tempfile.NamedTemporaryFile()