#NEWLINE# def test_sort_without_direction( self ) : #NEWLINE# #INDENT# instance = self . plugin . return_value #NEWLINE# instance . get_networks . return_value = [ ] #NEWLINE# res = self . api . get ( _get_path ( 'networks' ) , { #NEWLINE# #INDENT# 'sort_key' : [ 'name' ] , #NEWLINE# #UNINDENT# } , expect_errors = True ) #NEWLINE# self . assertEqual ( exc . HTTPBadRequest . code , res . status_int )