Skip to content

Commit 27ce952

Browse files
committed
Merge branch '338-consistency-of-folders-tags-for-ci-test-runs' of github.com:simvue-io/client into 338-consistency-of-folders-tags-for-ci-test-runs
2 parents 4d55975 + 619828a commit 27ce952

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

tests/unit/test_run_init_folder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_run_init_folder():
1515
with pytest.raises(RuntimeError) as exc_info:
1616
run.init(
1717
metadata={"dataset.x1_lower": x1_lower, "dataset.x1_upper": x1_upper},
18-
tags=["tag_1", "tag_2"],
18+
tags=["tag_1", "tag_2", "test_run_init_folder"],
1919
folder="test_folder",
2020
description="A test to validate folder input passed into run.init",
2121
retention_period="1 hour",

tests/unit/test_run_init_metadata.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ def test_run_init_metadata():
1515
with pytest.raises(RuntimeError) as exc_info:
1616
run.init(metadata={'dataset.x1_lower': x1_lower, 'dataset.x1_upper': x1_upper},
1717
description="A test to validate inputs passed into metadata dictionary",
18-
retention_period="1 hour"
18+
retention_period="1 hour",
19+
folder="/simvue_unit_testing",
20+
tags=["simvue_client_unit_tests", "test_run_init_metadata"]
1921
)
2022

2123
assert "Input should be a valid integer" in str(exc_info.value)

tests/unit/test_run_init_tags.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ def test_run_init_tags():
1515
with pytest.raises(RuntimeError) as exc_info:
1616
run.init(metadata={'dataset.x1_lower': x1_lower, 'dataset.x1_upper': x1_upper}, tags=1,
1717
description="A test to validate tag inputs passed into run.init",
18-
retention_period="1 hour"
18+
retention_period="1 hour",
19+
folder="/simvue_unit_testing"
1920
)
2021

2122
assert "Input should be a valid list" in str(exc_info.value)

0 commit comments

Comments
 (0)