#NEWLINE# @ responses . activate #NEWLINE# def test_readability_short_method( ) : #NEWLINE# #INDENT# body = json . dumps ( { #NEWLINE# #INDENT# 'meta' : { #NEWLINE# #INDENT# 'rdd_url' : shorten , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# responses . add ( responses . POST , s . api_url , body = body ) #NEWLINE# shorten_result = s . short ( expanded ) #NEWLINE# assert ( shorten_result == shorten ) #NEWLINE# assert ( s . shorten == shorten_result ) #NEWLINE# assert ( s . expanded == expanded )