Ejemplo n.º 1
0
	def setUp(self):
		App.stop_debuging()
		# print '[TEST:', self._testMethodName, ']'
		self.database_h9gi_nx95 = TypeDetectorTests.database_h9gi_nx95

		self.type_counts = {
			TypeDetector.GEO_GPS: 0, TypeDetector.GEO_ZIP: 0, TypeDetector.GEO_BOROUGH: 0,
			TypeDetector.TEMPORAL_DATE: 0, TypeDetector.TEMPORAL_TIME: 0, TypeDetector.TEMPORAL_DATE_TIME: 0,
			TypeDetector.NUMERIC_INT: 0, TypeDetector.NUMERIC_DOUBLE: 0,
			TypeDetector.TEXTUAL: 0,
			TypeDetector.NULL: 0}
    def setUp(self):
        App.stop_debuging()
        # print '[TEST:', self._testMethodName, ']'
        self.database_NYPD_MVC = TypeDetectorTests.database_NYPD_MVC
        self.database_311 = TypeDetectorTests.database_311
        self.database_2j7x_tvss = TypeDetectorTests.database_2j7x_tvss
        self.database_26ze_s5bx = TypeDetectorTests.database_26ze_s5bx

        self.type_counts = {
            TypeDetector.GEO_GPS: 0,
            TypeDetector.GEO_ZIP: 0,
            TypeDetector.GEO_BOROUGH: 0,
            TypeDetector.TEMPORAL_DATE: 0,
            TypeDetector.TEMPORAL_TIME: 0,
            TypeDetector.TEMPORAL_DATE_TIME: 0,
            TypeDetector.NUMERIC_INT: 0,
            TypeDetector.NUMERIC_DOUBLE: 0,
            TypeDetector.TEXTUAL: 0,
            TypeDetector.NULL: 0
        }