mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 00:35:03 +02:00
Instantiate exception_raised in test.
This commit is contained in:
@@ -42,6 +42,7 @@ class ErrorHandlerTest(unittest.TestCase):
|
|||||||
self.signals = error_handler._SIGNALS
|
self.signals = error_handler._SIGNALS
|
||||||
|
|
||||||
def test_context_manager(self):
|
def test_context_manager(self):
|
||||||
|
exception_raised = False
|
||||||
try:
|
try:
|
||||||
with self.handler:
|
with self.handler:
|
||||||
raise ValueError
|
raise ValueError
|
||||||
|
|||||||
Reference in New Issue
Block a user