Florian Bruhin
b5dd647678
Upgrade pydocstyle/flake8-docstrings
...
See #3320
2017-11-26 20:30:32 +01:00
Florian Bruhin
7520a365eb
Update comments
2017-11-26 19:43:49 +01:00
Florian Bruhin
0f3cff60fa
Merge remote-tracking branch 'origin/pr/3335'
2017-11-26 19:42:54 +01:00
Florian Bruhin
38f8cacd2b
Merge remote-tracking branch 'origin/pr/3336'
2017-11-26 19:35:26 +01:00
Florian Bruhin
67253726fa
Handle empty messages in qt_message_handler
...
I can't reproduce this, but someone on KDE reported always getting a crash (as
msg.splitlines()[0] gives an IndexError) when trying to select a file with
Qt 5.9.3.
2017-11-26 17:31:07 +01:00
Panagiotis Ktistakis
2bb8d404d2
Adjust :bind completion tests
2017-11-26 14:07:41 +02:00
Ryan Farley
650b0051e6
remove useless ignores
2017-11-26 01:59:21 -06:00
Ryan Farley
5ed8019115
update flake8 and flake8-deprecated
...
Updated requirements and adjusted the configuration in `.flake8`; other
files have been modified where the lack of per-file auto-ignore caused
problems, where putty's `# flake8: disable=` syntax could be replaced
with a simpler `noqa`, or where pylint directives already suppressed the
same error.
2017-11-26 00:16:14 -06:00
Florian Bruhin
03a9cbdfb4
Break long lines
...
(cherry picked from commit 18a45bbd5b0492785cfc6e9b541d816ed8ec5c54)
2017-11-24 16:03:34 +01:00
Florian Bruhin
06fc52321e
Ignore new Qt 5.9.3 error message
2017-11-24 14:24:15 +01:00
Florian Bruhin
0afd6b23c9
Add the option name to the backend error message
2017-11-24 09:25:45 +01:00
Florian Bruhin
28d7c5e204
Fix lint
2017-11-24 07:25:10 +01:00
Ryan Roden-Corrent
8eab402820
Abort :edit-command on invalid input.
...
Show an error message if the user edits the command such that it is
missing a start character (:, /, or ?). Previously, this would cause the
browser to crash.
Resolves #3326 .
2017-11-23 08:15:27 -05:00
Florian Bruhin
5d8c9577a7
Improve hypothesis example generation for configtypes.Dict
2017-11-22 11:53:49 +01:00
Florian Bruhin
72d466d236
Break long lines
2017-11-22 11:34:10 +01:00
Florian Bruhin
cbf5fc01fa
Avoid more about:blank loads
2017-11-22 10:15:18 +01:00
Florian Bruhin
12f4940ef3
Make :jseval use a fixed path with relative paths
2017-11-22 09:37:17 +01:00
Florian Bruhin
401a37bf4b
Stabilize :spawn with userscript tests
2017-11-22 08:43:47 +01:00
Florian Bruhin
e5cabb6d23
Match QtWebKit error message for qute://help/img test
2017-11-22 08:40:20 +01:00
Florian Bruhin
aa417019ae
Try stabilizing loading about:blank in end2end tests
2017-11-22 07:59:22 +01:00
Florian Bruhin
8acfe501fe
Revert "Stabilize cleaning up open tabs"
...
We're going to fix this in a more generic way.
This reverts commit 8440303d82
.
2017-11-22 07:56:31 +01:00
Florian Bruhin
b684e50cdf
Stabilize view-source test
2017-11-21 18:14:17 +01:00
Florian Bruhin
9744a3d0bc
Skip test_webenginesettings without QtWebEngine
2017-11-21 17:58:32 +01:00
Florian Bruhin
8440303d82
Stabilize cleaning up open tabs
...
For some reason, about:blank isn't properly loaded sometimes. But this should
always work.
2017-11-21 14:53:31 +01:00
Florian Bruhin
6c9f496edf
Add a test for setting content.cache.size to a big value
2017-11-21 14:09:38 +01:00
Florian Bruhin
a451e8ac9d
Add a cache_tmpdir fixture
2017-11-21 14:09:30 +01:00
Florian Bruhin
c9d42c8bea
Enable strict overflow checking in tests
2017-11-21 14:09:20 +01:00
Florian Bruhin
cff557d2fc
Try to stabilize command test, take 2
2017-11-21 13:19:11 +01:00
Florian Bruhin
56d1c5c7dd
Stabilize command history test
2017-11-21 11:31:22 +01:00
Florian Bruhin
54af872825
Add missing comma
2017-11-21 10:45:49 +01:00
Florian Bruhin
25be4d4383
Merge remote-tracking branch 'origin/pr/3318'
2017-11-20 21:16:57 +01:00
Florian Bruhin
203233c894
Track the view correctly in the webengineview fixture
...
This makes sure the view is closed after the test (fixing test_none on AppVeyor)
and also makes sure we have a QApplication.
2017-11-20 20:47:40 +01:00
Florian Bruhin
a5d9661d73
Simplify is_ignored_lowlevel_message
2017-11-20 19:29:31 +01:00
Ryan Roden-Corrent
5495380580
Exit command mode after :edit-command --run.
...
Resolves #3317 , where the command prompt was left open and populated
with text after running the command.
2017-11-20 11:46:26 -05:00
Florian Bruhin
abb5c9f638
Ignore Qt 5.7 OpenSSL logging message
2017-11-20 13:58:37 +01:00
Florian Bruhin
3b680d0bff
Pass --disable-seccomp-filter-sandbox for tests with Qt 5.7.1
...
This is a stop-gap so I'm able to run end2end tests at least.
See #3163 .
For unit tests, we need https://github.com/pytest-dev/pytest-qt/pull/193 first.
2017-11-20 13:54:52 +01:00
Florian Bruhin
8555b86e3b
Add copyright notice for pyeval_file.py
2017-11-19 21:09:48 +01:00
Florian Bruhin
a2c549b954
Merge remote-tracking branch 'origin/pr/3313'
2017-11-19 21:09:19 +01:00
Florian Bruhin
112800bab9
Fix backslashes in string
2017-11-19 21:04:57 +01:00
Florian Bruhin
62f37df573
Make cursor keys go through completion if a text was entered
...
This hopefully helps with people who try to use arrow keys for the completion,
while still making the command history somewhat discoverable.
2017-11-19 20:35:16 +01:00
Akhil kp
21e731ebeb
fixed build errors(typing errors)
2017-11-19 23:49:11 +05:30
akhilkpdasan
4644642c38
fixed test for pyeval --file
2017-11-19 19:10:36 +05:30
Florian Bruhin
6a90cebe85
Get rid of backslash
2017-11-19 14:29:22 +01:00
Florian Bruhin
5e20aa668a
Merge remote-tracking branch 'origin/pr/3262'
2017-11-19 14:24:48 +01:00
Florian Bruhin
91c909cb80
Merge remote-tracking branch 'origin/pr/3212'
2017-11-19 14:24:40 +01:00
Florian Bruhin
8c7bf12b88
Merge remote-tracking branch 'origin/pr/3306'
2017-11-19 14:08:58 +01:00
Florian Bruhin
2b063f577e
Handle OSError in :config-write-py
2017-11-19 14:06:11 +01:00
Florian Bruhin
8fb03208e7
Improve parsing of fatal stacktraces
...
We now also recognize "Windows fatal exception: ..." message and refuse to
send empty Windows access violation messages.
2017-11-19 14:06:11 +01:00
Akhil kp
c5eab53a87
Added --file for :debug-pyeval
2017-11-19 18:20:58 +05:30
Jay Kamat
6338810396
Increase timeouts for javascript tests
2017-11-17 21:42:24 -05:00