示例#1
0
 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"]
示例#2
0
 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"]