aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_console_palettes.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-04-07 10:01:18 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-04-07 10:01:18 +1200
commitf6a3bd15b3b8c3d30abf6e5209e10cff3c4784e0 (patch)
tree09c6140ab5e1e57166897ae0f3142e6d834bbed0 /test/test_console_palettes.py
parent1cb1ee411b9c8ffc40f83bcca99770af7f43a521 (diff)
downloadmitmproxy-f6a3bd15b3b8c3d30abf6e5209e10cff3c4784e0.tar.gz
mitmproxy-f6a3bd15b3b8c3d30abf6e5209e10cff3c4784e0.tar.bz2
mitmproxy-f6a3bd15b3b8c3d30abf6e5209e10cff3c4784e0.zip
console: All palettes now explicitly set a background colour
There's a new option --palette-transparent to turn this off if you want to use your own terminal background.
Diffstat (limited to 'test/test_console_palettes.py')
-rw-r--r--test/test_console_palettes.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_console_palettes.py b/test/test_console_palettes.py
index 3f8e280a..a3b7fe4f 100644
--- a/test/test_console_palettes.py
+++ b/test/test_console_palettes.py
@@ -8,4 +8,6 @@ import libmproxy.console.palettes as palettes
class TestPalette:
def test_helptext(self):
for i in palettes.palettes.values():
- assert i.palette()
+ assert i.palette(False)
+ for i in palettes.palettes.values():
+ assert i.palette(True)