def setUpClass(cls):
        BaseTestCase.setUpClass()

        # create and insert test data to database
        cls.testData = {
            'mapObj': Map(id = 10000023, apsobjectid = 90015724, apsdateiname = "df_dk_0010001_3352_1918",
                  originalimage = '', georefimage = '', istaktiv = False, isttransformiert = False,
                  maptype = 'M', hasgeorefparams = 0)
        }
Пример #2
0
    def setUpClass(cls):
        BaseTestCase.setUpClass()

        print '=============='
        print 'Start process module map tests ...'
        print '=============='

        cls.dir = os.path.join(os.path.dirname(os.path.realpath(__file__)),
                               '../../test-data')
        cls.file = os.path.join(cls.dir, 'test-mtb-georef.tif')
Пример #3
0
    def setUpClass(cls):
        BaseTestCase.setUpClass()


        print '=============='
        print 'Start process module map tests ...'
        print '=============='

        cls.dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), '../../test-data')
        cls.file = os.path.join(cls.dir,'test-mtb-georef.tif')
Пример #4
0
 def setUpClass(cls):
     BaseTestCase.setUpClass()
     logging.basicConfig(level=logging.DEBUG)
     cls.logger = logging.getLogger('sqlalchemy.engine')