self.assertEqual(len(dt_walk), len(os_walk), 'walk() same length')
for (osw, osw_dirs, osw_files), (dt, dt_dirs, dt_files) in zip(os_walk, dt_walk
    ):
    self.assertEqual(dt, osw, 'walk() currentdir')
self.assertSameElements(dt_dirs, osw_dirs, 'walk() dirlist')
self.assertSameElements(dt_files, osw_files, 'walk() fileList')
How do I compare two nested data structures for unittesting?