qutebrowser/tests/unit
Ryan Roden-Corrent 23eb6a6c53 Fix test_editor for edit-on-write behavior.
Now that the editor fires editing_finished on every write, the unit
tests had to be updated.

- Add qtbot to the editor fixture to resolve `QtWarningMsg:
  QSocketNotifier: Can only be used with threads started with QThread`
- Use removePaths instead of disconnect to stop the watcher from
  signalling. This avoids an error when the editor is forcibly cleaned
  up by the tests without the signal ever being connected, but otherwise
  has the same behavior as disconnecting the singal.
- wait for a signal on write instead of proc closed
- wait for _watcher.fileChanged in test_unreadable to ensure the write
  event is fired before the test exits.
2018-01-27 15:03:18 -05:00
..
browser Fix test_tab.py 2018-01-26 11:58:02 +01:00
commands Add an utils.Unreachable exception 2017-12-15 16:33:47 +01:00
completion Don't attempt completion if input starts with flag. 2018-01-04 12:34:06 -05:00
config add test for bind without args and fix other tests to include win_id 2018-01-15 15:52:15 -05:00
javascript Greasemonkey: support regexes in @include and @exclude. 2018-01-20 13:39:19 +13:00
keyinput Fix wrong import order 2017-12-15 14:35:07 +01:00
mainwindow Fix a couple style issues 2017-10-30 12:40:44 -04:00
misc Fix test_editor for edit-on-write behavior. 2018-01-27 15:03:18 -05:00
scripts pylint: Re-enable ungrouped-imports 2017-12-15 23:08:53 +01:00
utils fixup! fixup! incdec_number: add support for port 2018-01-24 22:22:00 +01:00
test_app.py Finally update copyrights... 2017-05-09 21:37:03 +02:00