

def test_completes_multiple_service_names(index_data):
    index_data['aws']['commands'] = ['abc', 'acd', 'b']
    completer = AWSCLIModelCompleter(completer)
    assert (completer.autocomplete('a') == ['abc', 'acd'])

dataset/ETHPy150Open awslabs/aws-shell/tests/unit/test_autocomplete.py test_completes_multiple_service_names/VarMisuse@30/56 `index_data`->`completer`