File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -368,14 +368,14 @@ def test_wrong_url(self):
368368 synchronizer = RepoSyncEpel (self .config , 'repo' , self .output , sync )
369369 with self .assertRaisesRegex (
370370 RiftError ,
371- f "^URL error while downloading https://127.0.0.1/.*: .*$" ,
371+ r "^URL error while downloading https://127.0.0.1/.*: .*$" ,
372372 ):
373373 synchronizer .run ()
374- sync ['source' ] = 'https://dl.fedoraproject.org/pub/epel '
374+ sync ['source' ] = 'https://google.com/failure '
375375 synchronizer = RepoSyncEpel (self .config , 'repo' , self .output , sync )
376376 with self .assertRaisesRegex (
377377 RiftError ,
378- f "^HTTP error while downloading https://dl.fedoraproject.org /.*: "
378+ r "^HTTP error while downloading https://google.com /.*: "
379379 "HTTP Error 404: Not Found$" ,
380380 ):
381381 synchronizer .run ()
You can’t perform that action at this time.
0 commit comments