Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
008a450f
Verified
Commit
008a450f
authored
Aug 24, 2019
by
Baptiste Beauplat
Browse files
Add regression test for utf-8 changelog support in rfstemplate
parent
d52a25fa
Changes
7
Hide whitespace changes
Inline
Side-by-side
debexpo/tests/importer/plugins/test_rfstemplate.py
View file @
008a450f
...
@@ -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
()
...
...
debexpo/tests/importer/sources/hello-utf8-changelog/debian/changelog
0 → 100644
View file @
008a450f
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
debexpo/tests/importer/sources/hello-utf8-changelog/debian/compat
0 → 120000
View file @
008a450f
../../hello/debian/compat
\ No newline at end of file
debexpo/tests/importer/sources/hello-utf8-changelog/debian/control
0 → 120000
View file @
008a450f
../../hello/debian/control
\ No newline at end of file
debexpo/tests/importer/sources/hello-utf8-changelog/debian/copyright
0 → 120000
View file @
008a450f
../../hello/debian/copyright
\ No newline at end of file
debexpo/tests/importer/sources/hello-utf8-changelog/debian/rules
0 → 120000
View file @
008a450f
../../hello/debian/rules
\ No newline at end of file
debexpo/tests/importer/sources/hello-utf8-changelog/debian/source
0 → 120000
View file @
008a450f
../../hello/debian/source
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment