Florian Bruhin
3e9203b829
tests: Update bs4 argument name
2022-04-11 10:29:44 +02:00
Florian Bruhin
96425c93bf
Merge remote-tracking branch 'origin/pr/7103'
2022-04-05 12:14:53 +02:00
Florian Bruhin
ac8d2949a2
Fix qute-lastpass tests
2022-04-04 17:30:41 +02:00
Florian Bruhin
ab7a2ee558
Switch to Python 3.7 subprocess API
...
Follow-up for #6905
2022-04-04 16:58:31 +02:00
Florian Bruhin
da280df809
Clean up some remaining Python version references
2022-04-04 10:51:34 +02:00
Jimmy
e9ed6456fd
Load icons via importlib.resources
...
The PyQt resources system is gone in 6.2 and deprecated before that. This
should be the last usage of it.
Switches icons to be read with `utils.resources.read_file_binary()` in
`notification.py` (fallback desktop notification icon) and `app.py` (icon for
the desktop window).
importlib only loads resources under a package, so the icons are moved under
the `qutebrowser/` directory.
Closes : #6062
2022-04-04 18:03:54 +12:00
Jimmy
060e4fbf80
Drop python3.6 support.
...
Commits for dropping 3.5 support to copy from:
c245b7d855ccd "Initial drop of Python 3.5"
ccdfb44b85 "Drop support for Python 3.6.0"
Anything needed to update regarding OS version support in
doc/install.asciidoc?
TODO: remove 3.6/7 annotations in requirements files and
rebuild
workflows: not sure I updated it right (run 5.12 with 3.7, same 18.04 OS) but
18.04 seems to have 3.7 on it too so it should work. It'll all change when we
drop <5.15 anyway. Not sure what the minimum ubuntu version will be going
forward.
Regarding mimetype overrides (ebb3046822 ) the doctring says they can all go
in 3.7 but .h5 is still missing on py39, not sure if we should care.
There are a bunch of old(?) warning messages still ignored in tests/end2end/fixtures/quteprocess.py.
2022-04-04 12:08:19 +12:00
Florian Bruhin
bd8c940320
Simplify some syntax
...
Found via pyupgrade
2022-04-03 12:18:09 +02:00
Florian Bruhin
1af602b258
readline: Properly delete first character
2022-03-31 19:54:19 +02:00
Florian Bruhin
ab65c542a0
Add :rl-rubout and :rl-filename-rubout
...
Closes #4561
2022-03-31 17:46:34 +02:00
Florian Bruhin
6210870322
Restore deleted test
2022-03-31 15:42:10 +02:00
Florian Bruhin
af85f7e6c9
Merge remote-tracking branch 'origin/pr/6599'
2022-03-31 15:41:10 +02:00
Florian Bruhin
3c26abd09a
Test system-data dir with flatpak
2022-03-31 15:04:09 +02:00
Florian Bruhin
d68357f16c
Merge remote-tracking branch 'origin/pr/7010'
2022-03-31 13:26:31 +02:00
Florian Bruhin
0d1e90e3f4
Fix test_editor
2022-03-30 18:24:42 +02:00
Florian Bruhin
982c3f1fbd
Pre-resolve guiprocess paths (work around Qt's CVE-2022-25255)
2022-03-30 17:52:44 +02:00
Florian Bruhin
151b0209e8
pylint: Enable private_import extension
2022-03-30 10:22:00 +02:00
Florian Bruhin
735ec65865
pylint: Work around Python 3.10 pathlib issue
...
See https://github.com/PyCQA/pylint/issues/5783
2022-03-29 18:11:32 +02:00
Jimmy
6341154aeb
Skip debucachestats test on python < 3.9
...
Refactor the magic tag creation thing to add python version checking support.
Makes `_check_version()` support checking plain tuples to so that I don't have
to copy the operator dict.
Now most of the branches of the if/else are the same, meh.
2022-03-26 16:06:42 +13:00
Florian Bruhin
b8c2c8d381
Simplify socket usage
2022-03-14 11:27:41 +01:00
Florian Bruhin
1a737b8bc1
tests: Catch async ERR_INVALID_URL
2022-03-07 14:24:43 +01:00
Florian Bruhin
7f1d92b596
Fix sandboxing test on Qt 5.12/QtWebKit/Windows
2022-03-06 23:05:13 +01:00
Florian Bruhin
2e5eab3dcc
Fix lint
2022-03-06 22:56:50 +01:00
Florian Bruhin
44c7578bb2
tests: Disable seccomp BPF sandbox on older Chromiums
...
Seems to be necessary with newer libc (?) and Qt 5.12 plus 5.15.0/.1/.2.
2022-03-06 22:56:19 +01:00
Florian Bruhin
44e00c5992
Handle missing support in sandbox test
2022-03-04 09:44:29 +01:00
Florian Bruhin
941627d778
Refactor tests to use new sandbox setting
2022-03-04 09:39:06 +01:00
Florian Bruhin
8fe1de2fdc
Add qt.chromium.sandboxing setting and sandboxing test
2022-03-03 21:16:04 +01:00
Florian Bruhin
38acd8f44a
Rename Chromium settings
2022-03-03 13:49:41 +01:00
Axel Dahlberg
caaa6b6fda
feat(tabbedbrowser) add option to select mode based on url pattern
2022-02-19 12:32:28 +01:00
Florian Bruhin
9c4169c7b7
tests: Remove some unused imports
2022-02-11 13:12:43 +01:00
inwit
3cbb7194b0
Apply the requested changes
2022-02-10 18:09:52 +01:00
inwit
514a4a05ff
External editor: add an option to never remove the file upon closing
2022-02-07 22:23:01 +01:00
Florian Bruhin
2dc11c128a
Update docs/changelog
2022-01-29 11:38:14 +01:00
Florian Bruhin
7b92d9b207
Merge remote-tracking branch 'origin/pr/6972'
2022-01-29 11:35:31 +01:00
Florian Bruhin
02f331b89c
tests: Update webserver started regex
...
Needed for webserver_sub_ssl.py with bleeding edge CI as it excludes the trailing slash, probably recent Flask/Werkzeug change.
2022-01-29 09:37:53 +01:00
mohite-abhi
ef87b5df72
Add tests for tab focus completion delete
2022-01-25 04:22:50 +05:30
Florian Bruhin
9ce7b48f46
Merge remote-tracking branch 'origin/pr/6626'
2022-01-05 16:33:20 +01:00
Florian Bruhin
f4714a9300
Use flake8-pytest-style
2022-01-04 10:30:24 +01:00
Florian Bruhin
e8bbcf3382
Add additional tests
2021-12-23 13:57:30 +01:00
Florian Bruhin
b500d40281
Drop unnecessary .keys()
2021-12-06 08:29:52 +01:00
Florian Bruhin
b828e49c50
Add more webelement selector unit tests
2021-12-03 17:42:51 +01:00
Florian Bruhin
26d308d95d
pylint: Enable docparams checker
2021-12-03 13:36:20 +01:00
Florian Bruhin
b84d68e8ee
pylint: Enable for_any_all extension
2021-12-03 12:04:59 +01:00
Florian Bruhin
543390c47a
pylint: Work around some minor false-positives
...
See #6857
2021-12-03 12:04:59 +01:00
Florian Bruhin
4d13280994
pylint: Fix some legitimate issues
2021-12-03 12:04:59 +01:00
Florian Bruhin
1ca68e6280
pylint: Remove bad-continuation supressions
...
Removed in https://github.com/PyCQA/pylint/pull/3571 - should use black instead
2021-12-02 17:55:32 +01:00
Florian Bruhin
100e87ff0e
pylint: Remove now-useless suppressions
2021-12-02 17:43:45 +01:00
Florian Bruhin
ed2342a430
pylint: Handle consider-using-with
2021-12-02 17:30:47 +01:00
Florian Bruhin
aef42047b7
Add hint test for tabindex-negative
2021-12-01 21:35:39 +01:00
Florian Bruhin
470fede771
tests: Move invisible.html to hints/html
2021-12-01 17:21:31 +01:00