def test_iter_dir_absolute_path(self): ps = PanScanner() directory = get_absolute_path('test_dir') self.assertEqual([v for v in ps.iter_dir(directory)], [ get_absolute_path('test_dir/binary.png'), get_absolute_path('test_dir/without.py'), get_absolute_path('test_dir/deeper/contains.log') ])
def test_iter_dir_absolute_path(self): ps = PanScanner() directory = get_absolute_path('test_dir') self.assertEqual( [v for v in ps.iter_dir(directory)], [get_absolute_path('test_dir/binary.png'), get_absolute_path('test_dir/without.py'), get_absolute_path('test_dir/deeper/contains.log')])