#NEWLINE# def test_read_and_upsert_reverse_dependencies( self ) : #NEWLINE# #INDENT# reverse_readed = self . store . read_direct_reverse_dependencies ( self . reverse . version ) #NEWLINE# self . assertEquals ( reverse_readed . reverse , reverse_readed ) #NEWLINE# new_ver = BlockVersion . loads ( 'creator3/block3(owner3/branch3):3' ) #NEWLINE# self . store . add_reverse_dependency_to ( self . reverse . version , new_ver ) #NEWLINE# reverse_readed = self . store . read_direct_reverse_dependencies ( self . reverse . version ) #NEWLINE# self . reverse . add_dependant_version ( new_ver ) #NEWLINE# self . assertEquals ( self . reverse , reverse_readed )