simplify Gallery parameters

This commit is contained in:
Simon
2012-10-30 00:27:12 +01:00
parent 8fbd43f4d5
commit 4d41236c2a
3 changed files with 9 additions and 8 deletions

View File

@@ -16,7 +16,8 @@ class TestGallery(unittest.TestCase):
self.path = os.path.dirname(__file__)
default_conf = os.path.join(self.path, 'sample', 'sigal.conf')
settings = read_settings(default_conf)
self.gallery = Gallery(settings, os.path.join(self.path, 'sample'))
self.gallery = Gallery(settings, os.path.join(self.path, 'sample'),
os.path.join(self.path, 'output'))
def test_filelist(self):
file_generator = self.gallery.filelist()