def test_collects_root_path_when_no_files_or_dirs(self): conn = get_mock_connection(files=[], dirs=[]) result = collector.get_path_metadata(conn, "/some/path") assert "/some/path" in result["dirs"]
def test_metadata_includes_root_path(self): conn = get_mock_connection() result = collector.get_path_metadata(conn, "/some/path") assert "/some/path" in result["dirs"]