#NEWLINE# def test_basic( self ) : #NEWLINE# #INDENT# self . main_db_resource . total_strings = 5000 #NEWLINE# self . main_db_resource . save ( ) #NEWLINE# self . other_db_resource . delete ( ) #NEWLINE# update_resources ( other_db_resource . db_project , self . vcs_project ) #NEWLINE# self . main_db_resource . refresh_from_db ( ) #NEWLINE# assert_equal ( self . main_db_resource . total_strings , len ( self . main_vcs_resource . entities ) ) #NEWLINE# other_db_resource = Resource . objects . get ( path = self . other_vcs_resource . path ) #NEWLINE# assert_equal ( other_db_resource . total_strings , len ( self . other_vcs_resource . entities ) )