mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
add exception type
This commit is contained in:
parent
271316a413
commit
13e165e2f9
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ class ReverterCheckpointLocalTest(unittest.TestCase):
|
|||
mock_read.side_effect = OSError("cannot even")
|
||||
try:
|
||||
self.reverter.add_to_checkpoint(self.sets[0], "save1")
|
||||
except:
|
||||
except OSError:
|
||||
pass
|
||||
self.reverter.finalize_checkpoint("blah")
|
||||
path = os.listdir(self.reverter.config.backup_dir)[0]
|
||||
|
|
|
|||
Loading…
Reference in a new issue