Couple of typo on tests, and added an error check to reach 100% coverage.
This commit is contained in:
parent
6217b9f43f
commit
0b888243e1
|
|
@ -74,3 +74,9 @@ def test_with_optionnals():
|
||||||
|
|
||||||
def test_return_values():
|
def test_return_values():
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
def test_bad_header():
|
||||||
|
em = export.ExportManager("test", "test")
|
||||||
|
with pytest.raises(KeyError):
|
||||||
|
em(export.ExportRequest("structural_elements", "header", "", {}))
|
||||||
|
|
|
||||||
|
|
@ -379,5 +379,4 @@ def test_early_tree(base_architecture):
|
||||||
assert os.path.exists(tree_file)
|
assert os.path.exists(tree_file)
|
||||||
pp = preparser.PreParser(tree_file, env)
|
pp = preparser.PreParser(tree_file, env)
|
||||||
|
|
||||||
pp.make_import_list()
|
|
||||||
rich.print(pp.rich_tree())
|
rich.print(pp.rich_tree())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue