From 5259d05c11f9abb2308b61abbec827c4251042e8 Mon Sep 17 00:00:00 2001 From: fspreck <f.spreckelsen@indiscale.com> Date: Fri, 9 Jun 2023 10:14:10 +0200 Subject: [PATCH] STY: autopep8'd --- unittests/test_macros.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unittests/test_macros.py b/unittests/test_macros.py index 62df642b..b78711d3 100644 --- a/unittests/test_macros.py +++ b/unittests/test_macros.py @@ -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(""" -- GitLab