os_walk = list(os.walk('some_path'))
dt_walk = list(my.walk('some_path'))
self.assertEqual(len(dt_walk), len(os_walk), 'walk() same length')
How do I compare two nested data structures for unittesting?