def METHOD_NAME(cognite_client):
    db_name = "db_" + random_string(10)
    table_name = "table_" + random_string(10)
    db = cognite_client.raw.databases.create(db_name)
    table = cognite_client.raw.tables.create(db_name, table_name)
    yield db, table
    cognite_client.raw.databases.delete(name=db.name, recursive=True)