Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
ASTM order record.

:param type: Record Type ID. Always ``O``.
:type type: str

:param seq: Sequence Number. Required.
:type seq: int

:param sample_id: Sample ID number. Required. Length: 12.
:type sample_id: str(more...)

src/a/s/astm-0.5.0/astm/tests/test_omnilab.py   astm(Download)
    def test_order_request(self):
        data = 'O|1|12120001||^^^NA^Sodium\^^^Cl^Clorum|R|20011023105715|20011023105715||||N||||S|||CHIM|AXM|Lab1|12120||||O|||||LAB2'
        order = omnilab.client.Order(*decode_record(data))
        self.assertEqual(order.type, 'O')
        self.assertEqual(order.seq, 1)