#NEWLINE# def test_autoupdate_up_to_date_repo( up_to_date_repo , in_tmpdir , mock_out_store_directory ) : #NEWLINE# #INDENT# config = make_config_from_repo ( up_to_date_repo , check = False ) #NEWLINE# write_config ( '.' , config ) #NEWLINE# before = open ( C . CONFIG_FILE ) . read ( ) #NEWLINE# assert ( '^$' not in before ) #NEWLINE# runner = Runner ( '.' ) #NEWLINE# ret = autoupdate ( runner ) #NEWLINE# after = open ( C . CONFIG_FILE ) . read ( ) #NEWLINE# assert ( ret == 0 ) #NEWLINE# assert ( before == after )