From b6d9d3f955b8b50c22bec765c6a3800508de401d Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 15 Sep 2016 15:46:26 +0200 Subject: [PATCH] fix tests for new "default required" policy This test had a keyword only parameter without a default, which is now disallowed. This caused the test to fail. --- tests/unit/commands/test_cmdutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/commands/test_cmdutils.py b/tests/unit/commands/test_cmdutils.py index 1aacf3c33..6f533798f 100644 --- a/tests/unit/commands/test_cmdutils.py +++ b/tests/unit/commands/test_cmdutils.py @@ -324,7 +324,7 @@ class TestRegister: # https://github.com/The-Compiler/qutebrowser/issues/1871 @cmdutils.register() @cmdutils.argument('arg', choices=['foo', 'bar']) - def fun(*, arg): + def fun(*, arg='foo'): """Blah.""" pass