Skip to content
Snippets Groups Projects
Verified Commit c50d400b authored by Daniel Hornung's avatar Daniel Hornung
Browse files

WIP: Additional warnings, errors and tests.

parent 398f4a45
Branches
No related tags found
No related merge requests found
Pipeline #52181 failed
File added
File added
...@@ -114,6 +114,9 @@ def test_faulty_foreign(): ...@@ -114,6 +114,9 @@ def test_faulty_foreign():
# Simple wrong foreign key # Simple wrong foreign key
converter = convert.XLSXConverter(xlsx=rfp("data/simple_data_wrong_foreign.xlsx"), converter = convert.XLSXConverter(xlsx=rfp("data/simple_data_wrong_foreign.xlsx"),
schema=rfp("data/simple_schema.json")) schema=rfp("data/simple_schema.json"))
from IPython import embed
embed()
with pytest.raises(RuntimeError): with pytest.raises(RuntimeError):
converter.to_dict() converter.to_dict()
errors = converter.get_errors() errors = converter.get_errors()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment