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(): ...@@ -39,6 +39,7 @@ def crawler():
rfp("test_directories", "example_substitutions", "substitutions.yml")) rfp("test_directories", "example_substitutions", "substitutions.yml"))
return crawler return crawler
@pytest.fixture @pytest.fixture
def crawler_2(): def crawler_2():
crawler = Crawler(debug=True) crawler = Crawler(debug=True)
...@@ -68,6 +69,7 @@ def test_substitutions(crawler): ...@@ -68,6 +69,7 @@ def test_substitutions(crawler):
assert subd[i]["Project"].get_property( assert subd[i]["Project"].get_property(
"dates").value[0] == "2022-05-12" "dates").value[0] == "2022-05-12"
def test_substitutions_parents(crawler_2): def test_substitutions_parents(crawler_2):
# This is a test for: # This is a test for:
# https://gitlab.indiscale.com/caosdb/src/caosdb-crawler/-/issues/35 # https://gitlab.indiscale.com/caosdb/src/caosdb-crawler/-/issues/35
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment