l.b.e.t.t.TestDebBugs(TestCase) : class documentation

Part of lp.bugs.externalbugtracker.tests.test_debbugs View In Hierarchy

No class docstring
Method setUp Undocumented
Method get_tracker Undocumented
Method make_bug_summary Create a bug summary file on disk
Method test_no_db_dir Undocumented
Method check_status Undocumented
Method test_status_missing Undocumented
Method test_status_upstream Undocumented
Method test_status_forwarded_to Undocumented
Method test_status_moreinfo Undocumented
Method test_status_wontfix Undocumented
Method test_status_done Undocumented
Method test_severity_missing Without severity set importance is set to unknown
Method test_severity_ignored Severity exists in debbugs but is ignored by launchpad
Method test_format_version_1 Initial format without version marker is rejected
Method test_format_version_3 Updated format with different escaping is not rejected
Method test_format_version_4 A hypothetical summary format version 4 is rejected
Method test_non_ascii_v2 Format-Version 2 RFC 1522 encoding on headers should not break
Method test_non_ascii_v3 Format-Version 2 UTF-8 encoding on headers should not break

Inherited from TestCase:

Method becomeDbUser Commit, then log into the database as dbuser.
Method __str__ The string representation of a test is its id.
Method useContext Use the supplied context in this test.
Method makeTemporaryDirectory Create a temporary directory, and return its path.
Method installKarmaRecorder Set up and return a KarmaRecorder.
Method assertProvides Assert 'obj' correctly provides 'interface'.
Method assertNotifies Assert that a callable performs a given notification.
Method assertNoNotification Assert that no notifications are generated by the callable.
Method assertSqlAttributeEqualsDate Fail unless the value of the attribute is equal to the date.
Method assertTextMatchesExpressionIgnoreWhitespace Undocumented
Method assertIsInstance Assert that an instance is an instance of assert_class.
Method assertIsNot Assert that expected is not the same object as observed.
Method assertContentEqual Assert that 'iter1' has the same content as 'iter2'.
Method assertRaisesWithContent Check if the given exception is raised with given content.
Method assertBetween Assert that 'variable' is strictly between two boundaries.
Method assertVectorEqual Apply assertEqual to all given pairs in one go.
Method expectedLog Expect a log to be written that matches the regex.
Method pushConfig Push some key-value pairs into a section of the config.
Method attachOopses Undocumented
Method attachLibrarianLog Include the logChunks from fixture in the test details.
Method assertStatementCount Assert that the expected number of SQL statements occurred.
Method useTempDir Use a temporary directory for this test.
Method assertEmailHeadersEqual Assert that two email headers are equal.
Method assertStartsWith Undocumented
Method assertEndsWith Asserts that s ends with suffix.
Method checkPermissions Check if the used_permissions match expected_permissions.
Method assertEmailQueueLength Pop the email queue, assert its length, and return it.
Method _unfoldEmailHeader Unfold a multiline email header.
def setUp(self):
Undocumented
def get_tracker(self):
Undocumented
def make_bug_summary(self, bug_id, format_version=2, headers=None):
Create a bug summary file on disk
def test_no_db_dir(self):
Undocumented
def check_status(self, bug_id, expect_status):
Undocumented
def test_status_missing(self):
Undocumented
def test_status_upstream(self):
Undocumented
def test_status_forwarded_to(self):
Undocumented
def test_status_moreinfo(self):
Undocumented
def test_status_wontfix(self):
Undocumented
def test_status_done(self):
Undocumented
def test_severity_missing(self):
Without severity set importance is set to unknown
def test_severity_ignored(self):
Severity exists in debbugs but is ignored by launchpad
def test_format_version_1(self):
Initial format without version marker is rejected
def test_format_version_3(self):
Updated format with different escaping is not rejected
def test_format_version_4(self):
A hypothetical summary format version 4 is rejected
def test_non_ascii_v2(self):
Format-Version 2 RFC 1522 encoding on headers should not break
def test_non_ascii_v3(self):
Format-Version 2 UTF-8 encoding on headers should not break
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.