datahub/metadata-ingestion/tests/integration/tableau/skip_test_tableau_stat.py
mohdsiddique 44a67b52cf
feat(ingestion): Tableau dashboard & chart usage stats (#5999)
Co-authored-by: MohdSiddique Bagwan <mohdsiddique.bagwan@gslab.com>
Co-authored-by: Harshal Sheth <hsheth2@gmail.com>
2022-09-20 17:41:56 -07:00

23 lines
673 B
Python

import pytest
import test_tableau_common
from freezegun import freeze_time
FROZEN_TIME = "2021-12-07 07:00:00"
@freeze_time(FROZEN_TIME)
@pytest.mark.slow_unit
def test_tableau_usage_stat(pytestconfig, tmp_path):
output_file_name: str = "tableau_stat_mces.json"
golden_file_name: str = "tableau_state_mces_golden.json"
side_effect_query_metadata = test_tableau_common.define_query_metadata_func(
"workbooksConnection_0.json", "workbooksConnection_state_all.json"
)
test_tableau_common.tableau_ingest_common(
pytestconfig,
tmp_path,
side_effect_query_metadata,
golden_file_name,
output_file_name,
)