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.
This commit is contained in:
Daniel Schadt 2016-09-15 15:46:26 +02:00
parent 0ef5d338bd
commit b6d9d3f955

View File

@ -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