Esempio n. 1
0
def test_read(list_of_dicts_json, template, expected_rows):
    er = EzReader(template)
    assert expected_rows == er.read(list_of_dicts_json)
Esempio n. 2
0
def test_invalid_template(template, error):
    with pytest.raises(error):
        EzReader(template)