def METHOD_NAME(self):
    """Populate the used snapshots in test and mastertest for this container."""
    snapshots_status = {}
    docs = get_documents(self.collection(SNAPSHOT), dbname=self.dbname, sort=self.sort, query=self.qry, _id=True)
    if docs and len(docs):
        logger.info('%s fetched %s number of documents: %s', Snapshot.LOGPREFIX, SNAPSHOT, len(docs))
        used_snapshots = self.get_used_snapshots_in_tests()
        if not used_snapshots:
            raise SnapshotsException("No snapshots for this container: %s, add and run again!..." % self.container)
        populated = []
        for doc in docs:
            if doc['json']:
                snapshot = doc['name']
                try:
                    pull_response, git_connector_json = self.check_and_fetch_remote_snapshots(doc['json'])
                    if git_connector_json and not pull_response:
                        logger.info('%s Fetching remote snapshots failed.', Snapshot.LOGPREFIX)
                        break
                    if snapshot in used_snapshots and snapshot not in populated:
                        # Take the snapshot and populate whether it was successful or not.
                        # Then pass it back to the validation tests, so that tests for those
                        # snapshots that have been susccessfully fetched shall be executed.
                        snapshot_file_data = self.populate_snapshots(doc['json'])
                        if not git_connector_json:
                            update_one_document(doc, self.collection(SNAPSHOT), self.dbname)
                        populated.append(snapshot)
                        snapshots_status[snapshot] = snapshot_file_data
                except Exception as e:
                    dump_output_results([], self.container, "-", snapshot, False)
                    raise e
    if not snapshots_status:
        raise SnapshotsException("No snapshots for this container: %s, add and run again!..." % self.container)
    return snapshots_status