Merge lp:~gz/bzr-builddeb/trivial_tweak_utf8_changelog_test into lp:bzr-builddeb
Proposed by
Martin Packman
Status: | Merged |
---|---|
Approved by: | Jelmer Vernooij |
Approved revision: | 633 |
Merged at revision: | 632 |
Proposed branch: | lp:~gz/bzr-builddeb/trivial_tweak_utf8_changelog_test |
Merge into: | lp:bzr-builddeb |
Diff against target: |
25 lines (+8/-5) 1 file modified
tests/blackbox/test_builddeb.py (+8/-5) |
To merge this branch: | bzr merge lp:~gz/bzr-builddeb/trivial_tweak_utf8_changelog_test |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij | Approve | ||
Review via email: mp+79153@code.launchpad.net |
This proposal supersedes a proposal from 2011-10-12.
Description of the change
Different approach to fixing test as suggested by Jelmer. We can't use debian.changelog because we want to support multiple versions and there's an incompatible change in how it handles non-ascii contents. Instead, just write something that looks vaguely like a changelog to disk for the test.
To post a comment you must log in.
<jelmer_> mgz: still there changelog' , 'w').write( """..." "") to make things simpler
<jelmer_> mgz: ?
<jelmer_> mgz: With your patch, that test fails for me on oneiric
<jelmer_> mgz: I wonder if we should just open('debian/