Esempio n. 1
0
def test_get_dataset_description(capsys):

    get_dataset_description("br_ibge_censo2010")
    out, err = capsys.readouterr()  # Capture prints
    assert len(out) > 0
Esempio n. 2
0
def cli_get_dataset_description(ctx, dataset_id, project_id):
    bd.get_dataset_description(
        dataset_id=dataset_id,
        query_project_id=project_id,
    )
Esempio n. 3
0
def test_get_dataset_description(capsys):

    get_dataset_description("br_ibge_censo_demografico", from_file=True)
    out, err = capsys.readouterr()  # Capture prints
    assert len(out) > 0
Esempio n. 4
0
def test_get_dataset_description_verbose_false():
    out = get_dataset_description(
        "br_ibge_censo_demografico", from_file=True, verbose=False
    )
    assert type(out) == str
    assert len(out) > 0