

def test_autocomplete_top_leve_services_on_space(index_data):
    index_data['aws']['commands'] = ['first', 'second']
    completer = AWSCLIModelCompleter(index_data)
    assert (completer.autocomplete(' ') == ['first', 'second'])

dataset/ETHPy150Open awslabs/aws-shell/tests/unit/test_autocomplete.py test_autocomplete_top_leve_services_on_space/original