Resolving a minor TODO

/filetype_completion_available handler renamed to /semantic_completion_available
This commit is contained in:
Strahinja Val Markovic 2013-10-07 16:28:40 -07:00
parent 5000d2e4ae
commit ebb1627f2e
2 changed files with 2 additions and 3 deletions

View File

@ -315,7 +315,7 @@ def FiletypeCompletionAvailable_Works_test():
'filetypes': ['python']
}
ok_( app.post_json( '/filetype_completion_available',
ok_( app.post_json( '/semantic_completion_available',
request_data ).json )

View File

@ -117,8 +117,7 @@ def SetUserOptions():
_SetUserOptions( request.json )
# TODO: Rename this to 'semantic_completion_available'
@app.post( '/filetype_completion_available')
@app.post( '/semantic_completion_available')
def FiletypeCompletionAvailable():
LOGGER.info( 'Received filetype completion available request')
return _JsonResponse( SERVER_STATE.FiletypeCompletionAvailable(