Verified Commit 008a450f authored by Baptiste Beauplat's avatar Baptiste Beauplat
Browse files

Add regression test for utf-8 changelog support in rfstemplate

parent d52a25fa
...@@ -40,6 +40,17 @@ class TestPluginRFSTemplate(TestImporterController): ...@@ -40,6 +40,17 @@ class TestPluginRFSTemplate(TestImporterController):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
TestImporterController.__init__(self, *args, **kwargs) TestImporterController.__init__(self, *args, **kwargs)
def test_utf8_changelog(self):
self.import_source_package('hello-utf8-changelog')
self.assert_importer_succeeded()
self.assert_package_severity('hello', 'rfstemplate',
PLUGIN_SEVERITY_INFO)
self.assert_rfs_content('hello',
'Subject: RFS: hello/1.0-1 -- Test package for '
'debexpo')
self.assert_rfs_content('hello',
'Severity: normal')
def test_dep5_license(self): def test_dep5_license(self):
self.import_source_package('hello') self.import_source_package('hello')
self.assert_importer_succeeded() self.assert_importer_succeeded()
......
hello (1.0-1) unstable; urgency=medium
* This is an UTF-8 changelog entry: é,ü,Й
* Initial release (Closes: #0)
-- Vincent TIME <vtime@example.org> Sun, 02 Dec 2018 22:38:11 +0100
../../hello/debian/compat
\ No newline at end of file
../../hello/debian/control
\ No newline at end of file
../../hello/debian/copyright
\ No newline at end of file
../../hello/debian/rules
\ No newline at end of file
../../hello/debian/source
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment