@pytest.mark.parametrize('name,version', ALL_APIS)
def test_attaches_global_params(open_discovery_document, name, version):
    discovery_document = open_discovery_document(name, version)
    api = GoogleAPI(discovery_document=discovery_document)
    for param in STACK_QUERY_PARAMETERS:
        assert (param in api['parameters'])
        assert (api['parameters'][param] == STACK_QUERY_PARAMETER_DEFAULT_VALUE)
@pytest.mark.parametrize('name,version', ALL_APIS)
def test_attaches_global_params(open_discovery_document, name, version):
    discovery_document = open_discovery_document(name, version)
    api = GoogleAPI(discovery_document=discovery_document)
    for param in STACK_QUERY_PARAMETERS:
        assert (param in api['parameters'])
        assert (api['parameters'][param] == STACK_QUERY_PARAMETER_DEFAULT_VALUE)