Example #1
0
def test_read_date(fd):
    val = AMF3DatePacker.read(fd, [])

    assert val.time == DATE.time
Example #2
0
def test_pack_date():
    assert AMF3DatePacker.pack(DATE, []) == DATE_BYTES
Example #3
0
def test_size_date():
    assert AMF3DatePacker.size(DATE, []) == DATE_SIZE