~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/scripts/testing/cases.py

  • Committer: Marc Tardif
  • Date: 2012-03-21 22:32:04 UTC
  • Revision ID: marc.tardif@canonical.com-20120321223204-8g7mvzzwmh8ifbrt
Added support for getting systems from a person (LP #899361)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    def setUp(self):
26
26
        # Trap stderr.
27
27
        self._real_stderr = sys.stderr
28
 
        sys.stderr = codecs.getwriter("utf8")(StringIO())
 
28
        sys.stderr = codecs.getwriter("utf-8")(StringIO())
29
29
 
30
30
    def tearDown(self):
31
31
        sys.stderr = self._real_stderr