qutebrowser/tests
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
..
end2end Editor triggers update on every save. 2018-01-27 15:03:18 -05:00
helpers Fix wrong import order 2017-12-15 14:35:07 +01:00
manual Update some more references to old config options 2017-07-04 16:46:02 +02:00
unit Fix test_editor for edit-on-write behavior. 2018-01-27 15:03:18 -05:00
conftest.py pylint: Re-enable bad-continuation 2017-12-15 19:16:55 +01:00
test_conftest.py Finally update copyrights... 2017-05-09 21:37:03 +02:00