diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_console_palettes.py | 4 | ||||
| -rw-r--r-- | test/test_examples.py | 2 | 
2 files changed, 5 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) diff --git a/test/test_examples.py b/test/test_examples.py index e63f1c7a..daf4b902 100644 --- a/test/test_examples.py +++ b/test/test_examples.py @@ -15,6 +15,8 @@ def test_load_scripts():              f += " -"          if "iframe_injector" in f:              f += " foo"  # one argument required +        if "filt" in f: +            f += " ~a"          if "modify_response_body" in f:              f += " foo bar"  # two arguments required          try: | 
