aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_console_palettes.py
diff options
context:
space:
mode:
authorJim Shaver <dcypherd@gmail.com>2015-03-19 15:58:53 -0400
committerJim Shaver <dcypherd@gmail.com>2015-03-19 15:58:53 -0400
commit998c9c49c44969b0e5421c649cfb714e5f578dda (patch)
tree41821482f4bf1db2ebdb1d8aad2be9de40f2ccfd /test/test_console_palettes.py
parent36bec7b77e1a8c02211c706b3e651fee13a3b3e2 (diff)
parent97c6d7ed25e026ae8d5511550df9718f829a7f1e (diff)
downloadmitmproxy-998c9c49c44969b0e5421c649cfb714e5f578dda.tar.gz
mitmproxy-998c9c49c44969b0e5421c649cfb714e5f578dda.tar.bz2
mitmproxy-998c9c49c44969b0e5421c649cfb714e5f578dda.zip
Merge branch 'master' of github.com:mitmproxy/mitmproxy into ssldocs
Diffstat (limited to 'test/test_console_palettes.py')
-rw-r--r--test/test_console_palettes.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test_console_palettes.py b/test/test_console_palettes.py
new file mode 100644
index 00000000..3f8e280a
--- /dev/null
+++ b/test/test_console_palettes.py
@@ -0,0 +1,11 @@
+import os
+from nose.plugins.skip import SkipTest
+if os.name == "nt":
+ raise SkipTest("Skipped on Windows.")
+import libmproxy.console.palettes as palettes
+
+
+class TestPalette:
+ def test_helptext(self):
+ for i in palettes.palettes.values():
+ assert i.palette()