diff --git a/unittests/table_json_conversion/test_read_xlsx.py b/unittests/table_json_conversion/test_read_xlsx.py index ac0a42b59478a57a1bf7ef53f4333e20c0358e76..cd5d53dd213403ebf8204d871a48db115f04a0b5 100644 --- a/unittests/table_json_conversion/test_read_xlsx.py +++ b/unittests/table_json_conversion/test_read_xlsx.py @@ -143,12 +143,7 @@ def test_error_table(): assert str(caught.value).count("Malformed metadata: Cannot parse paths in worksheet") == 1 assert str(caught.value).count("There is no entry in the schema") == 1 assert str(caught.value).count("is not one of") == 1 - # FIXME ToDo: Remove when boolean is fixed / when everything works as - # expected, set correct number. - if "is not of type 'boolean'" in str(caught.value): - assert str(caught.value).count("is not of type") == 6 - else: - assert str(caught.value).count("is not of type") == 4 + assert str(caught.value).count("is not of type") == 4 # Check correct error message for completely unknown path with pytest.raises(jsonschema.ValidationError) as caught: convert.to_dict(xlsx=rfp("data/simple_data_broken_paths.xlsx"),