示例#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"),
        ]
    }
示例#2
0
def order_number_objects():
    factories.MeasureConditionCodeFactory(code="Q")
    factories.MeasureActionFactory(code="27")
    factories.MeasureActionFactory(code="07")
示例#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")
示例#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")
示例#5
0
def proofs_of_origin_objects():
    factories.MeasureConditionCodeFactory(code="Q")
    factories.MeasureActionFactory(code="27")
    factories.MeasureActionFactory(code="07")