qutebrowser/tests/unit/commands
Florian Bruhin 12061b8bb1 Fix choices validation with unannotated args
Something like:

    @cmdutils.argument('foo', choices=['one', 'two'])
    def func(foo):
        # ...

didn't actually validate the foo argument, since the inferred type of
the argument is None, and that skipped all conversion (and thus
validation).

Fixes #1871
See #1885
2016-08-23 22:01:21 +02:00
..
test_argparser.py tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00
test_cmdutils.py Fix choices validation with unannotated args 2016-08-23 22:01:21 +02:00
test_runners.py Fix crash when doing :<space><enter> 2016-08-05 15:42:03 +02:00
test_userscripts.py tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00