Opened 13 years ago
Closed 13 years ago
#19094 closed Bug (fixed)
FakePayload should accept unicode
| Reported by: | Ondrej Slinták | Owned by: | nobody |
|---|---|---|---|
| Component: | Testing framework | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Claude Paroz | Triage Stage: | Accepted |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
As discussed on GitHub, I think FakePayload should accept unicode. Current implementation breaks stuff that worked in 1.4. @claudep had some ideas, so I'm creating this ticket for his patch.
Attachments (1)
Change History (4)
comment:1 by , 13 years ago
| Type: | New feature → Bug |
|---|
by , 13 years ago
| Attachment: | 19094-1.diff added |
|---|
comment:2 by , 13 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
Note that the modified tests in my patch are not necessary, they still pass with the modified FakePayload. However I modified them to show the advantage of the enhanced FakePayload.
comment:3 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Improved FakePayload to support write, len and string input