'Create renamed collections for the command tests.'

def create_renamed_collection(self, source_coll, target_coll):

    (source_db, source_coll) = source_coll.split('.', 1)
    mongo_source = self.conn[source_db][source_coll]
    mongo_source.insert_one({'renamed': 1})
    self.check_renamed_insert(target_coll)
