code: def test_join_paths():
      assert join_paths() == ""
      assert join_paths("foo") == "foo"
      assert join_paths("foo", "bar") == "foo.bar"
      assert join_paths("a", "b", "c", "d") == "a.b.c.d"
      assert join_paths("", "b", "", "d") == "b.d"
      assert join_paths("a.b", "c.d.e") == "a.b.c.d.e"
      assert join_paths("a.b.", "c.d.e") == "a.b.c.d.e"
  
imports: import pytest
  from sacred.utils import PATHCHANGE, convert_to_nested_dict, get_by_dotted_path, is_prefix, iter_prefixes, iterate_flattened, iterate_flattened_separately, join_paths, recursive_update, set_by_dotted_path, get_inheritors, convert_camel_case_to_snake_case, apply_backspaces_and_linefeeds, module_exists, module_is_in_cache, get_package_version, parse_version, rel_path
label_desc: Use image node_id 8 for calling a global function with example usage: test_join_paths() without return types