def action_codes() -> Dict[str, MeasureAction]: return { a.code: a for a in [ factories.MeasureActionFactory(code="01"), factories.MeasureActionFactory(code="09"), factories.MeasureActionFactory(code="29"), ] }
def order_number_objects(): factories.MeasureConditionCodeFactory(code="Q") factories.MeasureActionFactory(code="27") factories.MeasureActionFactory(code="07")
def authorised_use_objects(): factories.MeasureConditionCodeFactory(code="B") factories.MeasureActionFactory(code="27") factories.MeasureActionFactory(code="08") factories.CertificateFactory(sid="990", certificate_type__sid="N")
def condition_measure_objects(): factories.MeasureConditionCodeFactory(code="B") factories.MeasureActionFactory(code="29") factories.MeasureActionFactory(code="09") factories.CertificateFactory(sid="001", certificate_type__sid="C")
def proofs_of_origin_objects(): factories.MeasureConditionCodeFactory(code="Q") factories.MeasureActionFactory(code="27") factories.MeasureActionFactory(code="07")