qutebrowser/tests/unit
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
..
browser tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00
commands Fix choices validation with unannotated args 2016-08-23 22:01:21 +02:00
completion tests: Clean up test_column_widths 2016-08-20 22:08:07 +02:00
config tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00
javascript tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00
keyinput tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00
mainwindow tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00
misc tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00
scripts requirements: Update vulture to 0.9 2016-06-29 23:44:39 +02:00
utils Merge branch 'pytest30' 2016-08-23 09:03:24 +02:00
test_app.py Fix lint 2016-05-24 21:53:50 +02:00