mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
Moving import dialog to the top of the file
This commit is contained in:
parent
56997c926b
commit
6666ff25d4
1 changed files with 1 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import dialog
|
||||
import functools
|
||||
import itertools
|
||||
import os
|
||||
|
|
@ -923,8 +924,6 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
|
|||
traceback.format_exception_only(KeyboardInterrupt, interrupt)))
|
||||
|
||||
# Test dialog errors
|
||||
|
||||
import dialog
|
||||
exception = dialog.error(message="test message")
|
||||
main._handle_exception(
|
||||
dialog.DialogError, exc_value=exception, trace=None, config=None)
|
||||
|
|
|
|||
Loading…
Reference in a new issue