def test_parse_waybill_closing_file(): result = parse_waybill_closing_file(waybill_closing_file) assert len(result.keys()) == 2 assert '83824' in result.keys() assert '83825' in result.keys() assert result['83824'] == 4500 assert result['83825'] == 4500
def test_parse_waybill_closing_file_with_decimals(): result = parse_waybill_closing_file(waybill_closing_file_with_decimals) assert '87600' in result.keys() assert result['87600'] == 630