def test_warehouse_remote_html_table(adhoc_config): url = ( "https://raw.githubusercontent.com/totalhack/zillion/master/tests/dma_zip.html" ) adhoc_config["datasources"]["test_adhoc_db"]["tables"]["main.dma_zip"][ "data_url"] = url wh = Warehouse(config=adhoc_config) wh.print_info() assert wh.has_dimension("Zip_Code")
import os from zillion.warehouse import Warehouse FILEDIR = os.path.dirname(os.path.abspath(__file__)) wh = Warehouse(config=FILEDIR + "/baseball_warehouse.json") if __name__ == "__main__": wh.print_info()
def test_example_wh_init(): wh = Warehouse(config=config) wh.print_info()