[Reportbug-maint] Bug#711126: reportbug: tests for including a file fail
Krzysztof Żelechowski
giecrilj at stegny.2a.pl
Tue Jun 4 21:42:31 UTC 2013
Package: reportbug
Version: 4.12.6
Severity: normal
[ 73s] ======================================================================
[ 73s] FAIL: Content of include file should be added to message
[ 73s] ----------------------------------------------------------------------
[ 73s] Traceback (most recent call last):
[ 73s] File
"/home/abuild/rpmbuild/BUILD/reportbug-4.12.6/test/test_reportbug_program.py",
line 151, in test_adds_include_file_content_to_message
[ 73s] self.failUnlessIn(message, self.include_file_content)
[ 73s] File
"/home/abuild/rpmbuild/BUILD/reportbug-4.12.6/test/scaffold.py", line 139, in
failUnlessIn
[ 73s] raise self.failureException(msg)
[ 73s] AssertionError: '\n Phasellus posuere. Nulla malesuada
lacinia justo.\n Nunc condimentum ante vitae erat.\n ' is
not in '\n Lorem ipsum.\n Lorem ipsum.\n '
[ 73s]
[ 73s] ======================================================================
[ 73s] FAIL: New message filename should be as generated by TempFile
[ 73s] ----------------------------------------------------------------------
[ 73s] Traceback (most recent call last):
[ 73s] File
"/home/abuild/rpmbuild/BUILD/reportbug-4.12.6/test/test_reportbug_program.py",
line 165, in test_returns_new_temp_filename_as_message_filename
[ 73s] self.failUnlessEqual(message_filename, temp_filename)
[ 73s] AssertionError: 'report' != 'bogus'
[ 73s]
[ 73s] ======================================================================
[ 73s] FAIL: New message content should be written to report file
[ 73s] ----------------------------------------------------------------------
[ 73s] Traceback (most recent call last):
[ 73s] File
"/home/abuild/rpmbuild/BUILD/reportbug-4.12.6/test/test_reportbug_program.py",
line 180, in test_writes_new_message_content_to_report_file
[ 73s] self.failUnlessEqual(message, temp_file.getvalue())
[ 73s] AssertionError: '\n Lorem ipsum.\n Lorem
ipsum.\n ' != ''
[ 73s]
[ 73s] ----------------------------------------------------------------------
-- Package-specific info:
** Environment settings:
INTERFACE="gtk2"
** /home/krzysztof/.reportbugrc:
reportbug_version "4.12.6"
mode novice
ui gtk2
email "giecrilj at stegny.2a.pl"
http_proxy "http://w3c.2a.pl:8080/"
-- System Information:
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.10-1.16-desktop (SMP w/1 CPU core; PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
More information about the Reportbug-maint
mailing list