Exemplo n.º 1
0
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")
Exemplo n.º 2
0
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()
Exemplo n.º 3
0
def test_example_wh_init():
    wh = Warehouse(config=config)
    wh.print_info()