qutebrowser/tests
Florian Bruhin a0d0b6464f Use typing.py-like annotations for command args
This means:

- An annotation like (int, str) is now typing.Union[int, str].
- utils.typing got expanded so it acts like the real typing.py, with
  issubclass() working properly with typing.Union and __union_params__
  being set.
- A literal string doesn't exist anymore as annotation, instead
  @cmdutils.argument now has a 'choices' argument which can be used like
  @cmdutils.argument('arg', choices=['val1', 'val2']).
- Argument validating/converting is now entirely handled by
  argparser.type_conv instead of relying on python's argparse, i.e.
  type/choices is now not passed to argparse anymore.
2016-05-18 06:55:17 +02:00
..
helpers Various code style improvements 2016-04-27 20:25:27 +02:00
html Add tests/html/jsalert_multiline.html. 2015-08-27 22:13:40 +02:00
integration Use typing.py-like annotations for command args 2016-05-18 06:55:17 +02:00
unit Use typing.py-like annotations for command args 2016-05-18 06:55:17 +02:00
conftest.py Stop supporting running tests without Xvfb/DISPLAY 2016-04-06 08:27:43 +02:00
test_conftest.py tests: Allow XPASS for test_installed_package 2016-03-02 08:09:04 +01:00