Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Warren <bmw@eff.org>2019-02-23 03:55:50 +0300
committerBrad Warren <bmw@eff.org>2019-02-23 03:55:50 +0300
commitf105aedc9258d7a1de55b7de56802535d3b1b4dc (patch)
tree62ffaa0d24097fc2312cfb5d804a5e41dd97b7b8
parent31b4b8e57c542577d35a20f87eaad60d5ce37193 (diff)
Remove display.py.
-rw-r--r--tests/display.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/display.py b/tests/display.py
deleted file mode 100644
index 1f548e33d..000000000
--- a/tests/display.py
+++ /dev/null
@@ -1,22 +0,0 @@
-"""Manual test of display functions."""
-import sys
-
-from certbot.display import util
-from certbot.tests.display import util_test
-
-
-def test_visual(displayer, choices):
- """Visually test all of the display functions."""
- displayer.notification("Random notification!")
- displayer.menu("Question?", choices,
- ok_label="O", cancel_label="Can", help_label="??")
- displayer.menu("Question?", [choice[1] for choice in choices],
- ok_label="O", cancel_label="Can", help_label="??")
- displayer.input("Input Message")
- displayer.yesno("YesNo Message", yes_label="Yessir", no_label="Nosir")
- displayer.checklist("Checklist Message", [choice[0] for choice in choices])
-
-
-if __name__ == "__main__":
- displayer = util.FileDisplay(sys.stdout, False)
- test_visual(displayer, util_test.CHOICES)