1
# -*- coding: utf-8 -*-
3
from time import time, gmtime, strftime
5
from mago.test_suite.shotwell import ShotwellTestSuite
6
from mago.check import FileComparison, FAIL
8
class ShotwellBasics(ShotwellTestSuite):
9
def import_folder(self, path, number):
10
import_path = os.path.join(self.get_test_dir(), path)
11
success = self.application.import_from_folder(import_path)
13
if int(success) != int(number):
14
raise AssertionError, "The number of successful imported images expected: %s ; got %s" % (number, success)
16
if __name__ == "__main__":
17
shotwell_test = ShotwellBasics()