qutebrowser/tests
Florian Bruhin b704c911ae Fix running qute:log and qute:plainlog
This failed because dict.get('level') returned None with no level
parameter, and the subsequent [0] raised:

    Traceback (most recent call last):
      File ".../qutebrowser/utils/utils.py", line 624, in wrapper
        return func(*args, **kwargs)
      File ".../qutebrowser/browser/network/networkmanager.py", line 445, in createRequest
        op, req, outgoing_data)
      File ".../qutebrowser/browser/network/qutescheme.py", line 107, in createRequest
        data = handler(self._win_id, request)
      File ".../qutebrowser/browser/network/qutescheme.py", line 189, in qute_log
        level = urllib.parse.parse_qs(request.url().query()).get('level')[0]
    TypeError: 'NoneType' object is not subscriptable
2016-05-15 11:33:30 +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 Fix running qute:log and qute:plainlog 2016-05-15 11:33:30 +02:00
unit Get rid of the colorlog dependency 2016-05-13 21:19:33 +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