TestUiFactory use sys.stdout for password prompt

Bug #110204 reported by Vincent Ladeuil
26
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Low
Vincent Ladeuil

Bug Description

CLIUIFactory use sys.stdout to encode prompt.
TestUIFactory overrides sys.stdout without taking into account this prompt encoding.

Tests writers get trapped, their tests run ok locally but fail on pqm :)

Vincent Ladeuil (vila)
Changed in bzr:
assignee: nobody → v-ladeuil
importance: Undecided → Low
status: Unconfirmed → In Progress
Revision history for this message
Vincent Ladeuil (vila) wrote :

Fixed in the attached patch by letting TestUIFactory encode the prompt with its own stdout.

Changed in bzr:
status: In Progress → Fix Committed
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 110204] Re: TestUiFactory use sys.stdout for password prompt

On 4/26/07, vila <email address hidden> wrote:
> Fixed in the attached patch by letting TestUIFactory encode the prompt
> with its own stdout.
>
> ** Attachment added: "Encodes prompt with the Right stdout"
> http://librarian.launchpad.net/7409541/110204.patch

+1

--
Martin

Revision history for this message
John A Meinel (jameinel) wrote :

should be available in bzr.dev 2489

Changed in bzr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.