l.c.m.t.t.AssertEventMixin : class documentation

Part of lp.code.model.tests.test_codeimportjob View In Hierarchy

Known subclasses: lp.code.model.tests.test_codeimportjob.TestCodeImportJobWorkflowFinishJob, lp.code.model.tests.test_codeimportjob.TestCodeImportJobWorkflowReclaimJob, lp.code.model.tests.test_codeimportjob.TestCodeImportJobWorkflowRequestJob, lp.code.model.tests.test_codeimportjob.TestCodeImportJobWorkflowStartJob, lp.code.model.tests.test_codeimportjob.TestCodeImportJobWorkflowUpdateHeartbeat

Helper to test that a CodeImportEvent has the expected values.
Method assertEventLike Fail unless import_event has the expected attribute values.
def assertEventLike(self, import_event, event_type, code_import, machine=None, person=None):
Fail unless import_event has the expected attribute values.
Parametersimport_eventThe CodeImportEvent to test.
event_typeexpected value of import_event.event_type.
code_importexpected value of import_event.code_import.
machineexpected value of import_event.machine.
personexpected value of import_event.person.
API Documentation for Launchpad, generated by pydoctor at 2020-10-01 00:00:09.