TestUiFactory use sys.stdout for password prompt
Bug #110204 reported by
Vincent Ladeuil
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 :)
Changed in bzr: | |
assignee: | nobody → v-ladeuil |
importance: | Undecided → Low |
status: | Unconfirmed → In Progress |
To post a comment you must log in.
Fixed in the attached patch by letting TestUIFactory encode the prompt with its own stdout.