def test_recursive_listdir(self):
    sample_dir = app.config['BASEDIR'].child('whiskyton')
    files = sitemap.recursive_listdir(sample_dir)
    self.assertIsInstance(files, list)
    for file_path in files:
        self.assertTrue(file_path.exists())
        self.assertTrue(file_path.isfile())
def test_recursive_listdir(self):
    sample_dir = app.config['BASEDIR'].child('whiskyton')
    files = sitemap.recursive_listdir(sample_dir)
    self.assertIsInstance(files, list)
    for file_path in files:
        self.assertTrue(file_path.exists())
        self.assertTrue(file_path.isfile())