#NEWLINE# def test_out_of_date_repo( out_of_date_repo , runner_with_mocked_store ) : #NEWLINE# #INDENT# config = make_config_from_repo ( out_of_date_repo . path , sha = out_of_date_repo . original_sha ) #NEWLINE# ret = _update_repository ( config , runner_with_mocked_store ) #NEWLINE# assert ( ret [ 'sha' ] != out_of_date_repo . original_sha ) #NEWLINE# assert ( ret [ 'sha' ] == out_of_date_repo . head_sha )