Skip to content
Snippets Groups Projects
Commit 5f16b712 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

STY: style fixes in test variable substitutions

parent af64a777
Branches
Tags
1 merge request!53Release 0.1
Pipeline #28698 passed
......@@ -39,6 +39,7 @@ def crawler():
rfp("test_directories", "example_substitutions", "substitutions.yml"))
return crawler
@pytest.fixture
def crawler_2():
crawler = Crawler(debug=True)
......@@ -68,12 +69,13 @@ def test_substitutions(crawler):
assert subd[i]["Project"].get_property(
"dates").value[0] == "2022-05-12"
def test_substitutions_parents(crawler_2):
# This is a test for:
# https://gitlab.indiscale.com/caosdb/src/caosdb-crawler/-/issues/35
# ... testing whether variable substitutions can be used in parent declarations.
subd = crawler_2.debug_tree[dircheckstr(
"File", "ExperimentalData", "220512_data.dat")]
"File", "ExperimentalData", "220512_data.dat")]
# subd[0] <- generalStore
# subd[1] <- recordStore
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment