def check_required_table_names(self, db_connection):
        test_required_tables = [
            'SNR_RIGHT_T', 'SNR_SOURCE_RIGHT_T', 'SNR_PARCEL_REGISTRY_T',
            'SNR_TITLE_HOLDER_T', 'SNR_RIGHT_TYPE_D',
            'SNR_TITLE_HOLDER_DOCUMENT_T', 'SNR_SOURCE_TYPE_D',
            'SNR_TITLE_HOLDER_TYPE_D', 'EXT_ARCHIVE_S'
        ]
        required_tables = get_required_tables(db_connection)

        for test_required_table in test_required_tables:
            self.assertIn(test_required_table, required_tables)
 def check_required_table_names(self, db_connection):
     test_required_tables = [
         'MORE_BFS_T', 'LESS_BFS_T', 'POINT_BFS_T', 'COL_POINT_SOURCE_T',
         'COL_RRR_SOURCE_T', 'COL_UE_BAUNIT_T', 'COL_UE_SOURCE_T',
         'COL_BAUNIT_SOURCE_T', 'COL_CCL_SOURCE_T', 'OP_BUILDING_TYPE_D',
         'OP_DOMAIN_BUILDING_TYPE_D', 'OP_BUILDING_UNIT_TYPE_D',
         'OP_GROUP_PARTY_T', 'OP_BUILDING_UNIT_T', 'OP_BUILDING_T',
         'OP_RIGHT_T', 'OP_ADMINISTRATIVE_SOURCE_T', 'OP_SPATIAL_SOURCE_T',
         'OP_PARTY_T', 'OP_BOUNDARY_T', 'OP_PARCEL_T',
         'OP_BOUNDARY_POINT_T', 'OP_RESTRICTION_T', 'OP_RIGHT_OF_WAY_T',
         'OP_PLOT_T', 'OP_ADMINISTRATIVE_SOURCE_TYPE_D', 'OP_PARTY_TYPE_D',
         'OP_PARCEL_TYPE_D', 'OP_CONTROL_POINT_TYPE_D',
         'OP_SURVEY_POINT_TYPE_D', 'OP_POINT_TYPE_D'
     ]
     required_tables = get_required_tables(db_connection)
     for test_required_table in test_required_tables:
         self.assertIn(test_required_table, required_tables)
Пример #3
0
    def check_required_table_names(self, db_connection):
        test_required_tables = ['GC_PARCEL_T', 'GC_OWNER_T', 'GC_PLOT_T', 'GC_BUILDING_UNIT_T', 'GC_PARCEL_TYPE_D', 'GC_BUILDING_UNIT_TYPE_T']
        required_tables = get_required_tables(db_connection)

        for test_required_table in test_required_tables:
            self.assertIn(test_required_table, required_tables)
    def check_required_table_names(self, db_connection):
        test_required_tables = ['GC_PARCEL_T', 'GC_OWNER_T', 'GC_PLOT_T', 'GC_BUILDING_UNIT_T', 'INI_PARCEL_SUPPLIES_T', 'SNR_RIGHT_T', 'SNR_SOURCE_RIGHT_T', 'SNR_PARCEL_REGISTRY_T', 'SNR_TITLE_HOLDER_T', 'EXT_ARCHIVE_S']
        required_tables = get_required_tables(db_connection)

        for test_required_table in test_required_tables:
            self.assertIn(test_required_table, required_tables)