Skip to content
Snippets Groups Projects
Commit 5259d05c authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

STY: autopep8'd

parent 7d069630
No related branches found
No related tags found
2 merge requests!123REL: Release v0.6.0,!121A few more tests for macro replacment
Pipeline #37567 passed
......@@ -300,6 +300,7 @@ extroot: !macro
assert d["macro_sub_98"]["b"] == "98"
assert d["macro_sub_98"]["another_param"] == 3
@pytest.mark.xfail(
reason="This is discussed in the following issue"
"https://gitlab.com/caosdb/caosdb-crawler/-/issues/74."
......@@ -332,7 +333,8 @@ extroot: !macro
""")
assert len(cfood["extroot"]["macro_top"]) == 2
def test_circular_macro_definition(register_macros, macro_store_reset):
"""Test the (ab-)use of macros to create an infinite loop."""
cfood = _temp_file_load("""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment