qutebrowser/tests
Florian Bruhin 943dc564b2 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

This is a reworked version of 12061b8bb1
which lets special parameters (count/win_id/flags) through correctly.
2016-08-25 22:16:25 +02:00
..
end2end Merge branch 'test_no_dict' of https://github.com/julianuu/qutebrowser into julianuu-test_no_dict 2016-08-23 23:08:51 +02:00
helpers tests: Use pytest.fixture instead of yield_fixture 2016-08-22 07:40:24 +02:00
manual Move mouse handling to an EventFilter 2016-08-10 16:44:40 +02:00
unit Fix choices validation with unannotated args 2016-08-25 22:16:25 +02:00
conftest.py Revert "tests: Add a autouse fixture as workaround" 2016-08-24 07:23:00 +02:00
test_conftest.py tests: Allow XPASS for test_installed_package 2016-03-02 08:09:04 +01:00