Bug#783461: debsources: add test case for news listing on the index page
Package: qa.debian.org
Severity: minor
Tags: newcomer
User: qa.debian.org@packages.debian.org
Usertags: debsources
Debsources can show news items on the index page (see News section at the
bottom of http://sources.debian.net/). The feature broke during the recent
blueprint refactoring, when the expected file name was renamed from news.html
to sources_news.html. We didn't notice because no test case actually checks
that feature. One such test case should be added.
To do so, we should populate a temporary local/ directory during test, and
check that the news item shipped in there shows up on the index page.
Cheers.
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply to: