<filename>tests/test_hive.py
from databricks_dbapi import hive
import os

def test_workspace(host, http_path_workspace, token_workspace):
    connection = hive.connect(host=host, http_path=http_path_workspace, token=token_workspace)
    cursor = connection.cursor()
    print(cursor)

def test_sql_analytics(host, http_path_sql_analytics, token_sql_analytics):
    connection = hive.connect(
        host=host, http_path=http_path_sql_analytics, token=token_sql_analytics,
    )
    cursor = connection.cursor()
    print(cursor)

<filename>tests/test_hive.py
from databricks_dbapi import hive
import os

def test_workspace(host, http_path_workspace, token_workspace):
    connection = hive.connect(host=host, http_path=http_path_workspace, token=token_workspace)
    cursor = connection.cursor()
    print(cursor)

def test_sql_analytics(host, http_path_sql_analytics, token_sql_analytics):
    connection = hive.connect(
        host=host, http_path=http_path_sql_analytics, token=token_sql_analytics,
    )
    cursor = connection.cursor()
    print(cursor)
