Example #1
0
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"),
        ]
    }
Example #2
0
def order_number_objects():
    factories.MeasureConditionCodeFactory(code="Q")
    factories.MeasureActionFactory(code="27")
    factories.MeasureActionFactory(code="07")
Example #3
0
def authorised_use_objects():
    factories.MeasureConditionCodeFactory(code="B")
    factories.MeasureActionFactory(code="27")
    factories.MeasureActionFactory(code="08")
    factories.CertificateFactory(sid="990", certificate_type__sid="N")
Example #4
0
def condition_measure_objects():
    factories.MeasureConditionCodeFactory(code="B")
    factories.MeasureActionFactory(code="29")
    factories.MeasureActionFactory(code="09")
    factories.CertificateFactory(sid="001", certificate_type__sid="C")
Example #5
0
def proofs_of_origin_objects():
    factories.MeasureConditionCodeFactory(code="Q")
    factories.MeasureActionFactory(code="27")
    factories.MeasureActionFactory(code="07")