diff --git a/tests/unit_tests/test_registrar_util.py b/tests/unit_tests/test_registrar_util.py index dee3fd30..4813acfc 100644 --- a/tests/unit_tests/test_registrar_util.py +++ b/tests/unit_tests/test_registrar_util.py @@ -162,14 +162,14 @@ def test_read_file(tmpdir, nchars, max_config_length, ans): ("mydataset", "1.1.1", ".gen_paths/mydataset_1.1.1"), ], ) -def test_relpath_from_name(name, version_string, ans): +def test_relpath_from_name(name, version_string, ans, old_location=None): """ Test dataset path construction Datasets should come back with the format: /// """ - tmp = _relpath_from_name(name, version_string) + tmp = _relpath_from_name(name, version_string, old_location) assert tmp == ans @pytest.mark.parametrize(