File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,10 +114,8 @@ def test_autoupdate_out_of_date_repo(
114114 )
115115 write_config ('.' , config )
116116
117- runner = Runner ('.' , C .CONFIG_FILE )
118117 before = open (C .CONFIG_FILE ).read ()
119- # It will update the repo, because the name matches
120- ret = autoupdate (runner , tags_only = False )
118+ ret = autoupdate (Runner ('.' , C .CONFIG_FILE ), tags_only = False )
121119 after = open (C .CONFIG_FILE ).read ()
122120 assert ret == 0
123121 assert before != after
@@ -137,7 +135,6 @@ def test_autoupdate_out_of_date_repo_with_correct_repo_name(
137135 runner = Runner ('.' , C .CONFIG_FILE )
138136 before = open (C .CONFIG_FILE ).read ()
139137 repo_name = 'file://{}' .format (out_of_date_repo .path )
140- # It will update the repo, because the name matches
141138 ret = autoupdate (runner , tags_only = False , repo = repo_name )
142139 after = open (C .CONFIG_FILE ).read ()
143140 assert ret == 0
You can’t perform that action at this time.
0 commit comments