#NEWLINE# def test_get_id( self ) : #NEWLINE# #INDENT# class Test ( resource . Resource ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# ID = 'an id' #NEWLINE# res = Test ( { #NEWLINE# #INDENT# 'id' : ID , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( ID , resource . Resource . get_id ( ID ) ) #NEWLINE# self . assertEqual ( ID , resource . Resource . get_id ( res ) )