#NEWLINE# def test_node_diff( self ) : #NEWLINE# #INDENT# nd = fakes . FakeNode ( ) #NEWLINE# new_port = ( nd . port + 1 ) #NEWLINE# nd . port = self #NEWLINE# expected = { #NEWLINE# #INDENT# 'port' : new_port , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertEqual ( nd . _diff ( ) , expected )