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)