tests/reporting.py
def _import_operator_data(filename, operator, row_count, db_conn, metadata_db_conn, db_config, tmpdir,
                          logger, mocked_statsd, mcc_mnc_pairs, perform_historic_checks=False):
    """Function to import operator data."""
    with get_importer(OperatorDataImporter,
                      db_conn,
                      metadata_db_conn,
                      db_config,
                      tmpdir,
                      logger,
                      mocked_statsd,
                      OperatorDataParams(
                          filename=filename,
                          operator=operator,
                          perform_null_checks=False,
                          perform_unclean_checks=False,
                          perform_historic_checks=perform_historic_checks,
                          mcc_mnc_pairs=mcc_mnc_pairs,
                          extract=False)) as operator_data_importer:
        import_data(operator_data_importer, 'operator_data', row_count, db_conn, logger)
Function to import operator data.
Function to import operator data.
Function to import operator data .
def _import_operator_data(filename, operator, row_count, db_conn, metadata_db_conn, db_config, tmpdir,
                          logger, mocked_statsd, mcc_mnc_pairs, perform_historic_checks=False):
    with get_importer(OperatorDataImporter,
                      db_conn,
                      metadata_db_conn,
                      db_config,
                      tmpdir,
                      logger,
                      mocked_statsd,
                      OperatorDataParams(
                          filename=filename,
                          operator=operator,
                          perform_null_checks=False,
                          perform_unclean_checks=False,
                          perform_historic_checks=perform_historic_checks,
                          mcc_mnc_pairs=mcc_mnc_pairs,
                          extract=False)) as operator_data_importer:
        import_data(operator_data_importer, 'operator_data', row_count, db_conn, logger)
def _import_operator_data ( filename , operator , row_count , db_conn , metadata_db_conn , db_config , tmpdir , logger , mocked_statsd , mcc_mnc_pairs , perform_historic_checks = False ) : with get_importer ( OperatorDataImporter , db_conn , metadata_db_conn , db_config , tmpdir , logger , mocked_statsd , OperatorDataParams ( filename = filename , operator = operator , perform_null_checks = False , perform_unclean_checks = False , perform_historic_checks = perform_historic_checks , mcc_mnc_pairs = mcc_mnc_pairs , extract = False ) ) as operator_data_importer : import_data ( operator_data_importer , 'operator_data' , row_count , db_conn , logger )
Function to import operator data.
Function to import operator data .
"""Function to import operator data."""
filename
operator
row_count
db_conn
metadata_db_conn
db_config
tmpdir
logger
mocked_statsd
mcc_mnc_pairs
perform_historic_checks