Exemplo n.º 1
0
def test_get_default_date_range(app, os, bits, processor, build_type,
                                expected_range):
    fetch_config = create_config(app, os, bits, processor)
    if build_type:
        fetch_config.set_build_type(build_type)

    assert expected_range == cli.get_default_date_range(fetch_config)
Exemplo n.º 2
0
def test_get_default_date_range(app, os, bits, processor, build_type,
                                expected_range):
    fetch_config = create_config(app, os, bits, processor)
    if build_type:
        fetch_config.set_build_type(build_type)

    assert expected_range == cli.get_default_date_range(fetch_config)