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
fdc43438ef
Make tests for non-ASCII files work
2017-11-07 17:00:08 +01:00
Florian Bruhin
743dbbbcd6
Break long lines
2017-11-07 11:29:53 +01:00
Florian Bruhin
3eafdc13d7
Merge remote-tracking branch 'origin/pr/3177'
2017-11-07 11:17:00 +01:00
Gyorgy Orban
bb54a954fe
use subprocess run
...
The usage of subprocess.run is recommended since python 3.5.
Popen, check_call, call and check_output calls were replaced with run.
2017-11-01 09:59:32 +01:00
Christopher Pezley
f67c445f3d
Add test for opening non-ascii paths from command line.
2017-10-23 22:27:00 +02:00
Christopher Pezley
f53d8135b0
Add test for opening non-ascii paths.
2017-10-22 19:39:46 +02:00
Florian Bruhin
0cd5d4300b
Rename qt_args and force_software_rendering to add qt. prefix
...
Closes #3077
2017-10-11 07:45:38 +02:00
Florian Bruhin
4b9bbaa04d
Skip test_force_software_rendering with QtWebKit
2017-09-28 17:30:53 +02:00
Florian Bruhin
6496442503
Skip test_force_software_rendering on CI
...
We can't be sure we have hardware acceleration there
2017-09-28 11:42:02 +02:00
Florian Bruhin
45c6ffe991
Add a test for force_software_rendering
2017-09-28 10:04:47 +02:00
Florian Bruhin
55a4eb18f2
Get rid of httpbin
...
Fixes #2949
2017-09-19 10:35:54 +02:00
Florian Bruhin
505321c336
Drop support for Python 3.4
...
See #2742
2017-09-18 23:01:17 +02:00
Florian Bruhin
852baaa8c3
Drop support for Qt < 5.7.1
...
See #2742
2017-09-18 23:01:17 +02:00
Florian Bruhin
f6a0500bd3
Merge branch 'master' into new-config
...
This pulls the travis changes to drop the old Qt 5.2 environment.
2017-09-11 18:39:41 +02:00
Florian Bruhin
f320da07b4
Increase timeout for test_version
2017-09-11 18:33:07 +02:00
Florian Bruhin
9e10f891ff
Print output earlier in test_version
2017-09-11 18:32:23 +02:00
Ryan Roden-Corrent
71b71dbc58
Merge remote-tracking branch 'upstream/master' into HEAD
2017-08-06 18:13:49 -04:00
Florian Bruhin
07b2fde2de
Mark test_version as flaky
...
Sometimes it fails on Travis with empty output for no apparent reason
2017-07-24 08:05:51 +02:00
Florian Bruhin
ac8fb03b80
Fix lint
2017-07-10 20:37:30 +02:00
Florian Bruhin
135fb042da
Make settings from qute://settings persistent
2017-07-10 18:04:39 +02:00
Florian Bruhin
3470e9bf5d
Fix invocation with -s
2017-07-04 15:08:02 +02:00
Florian Bruhin
d0904a9f67
Adjust test settings
2017-07-04 15:08:02 +02:00
Florian Bruhin
9b5227b987
Improve test_version output
2017-06-19 09:06:18 +02:00
Florian Bruhin
eb9a0c01ba
Set backend-warning-shown in test_invocations
2017-05-30 16:49:39 +02:00
Florian Bruhin
8bd6974042
Open a window with an empty session
...
With general -> save-session on and only private windows open, we can easily get
a session file with "windows: []" in it. If we loaded such a file, we got no
windows at all when qutebrowser started.
Fixes #2664
2017-05-28 11:15:51 +02:00
Florian Bruhin
c3ac3ccdee
Add tests for new private browsing
2017-05-15 11:02:29 +02:00
Florian Bruhin
822623f2ed
Finally update copyrights...
2017-05-09 21:37:03 +02:00
Florian Bruhin
7c6981e512
Remove unused imports
2017-05-02 10:41:51 +02:00
Florian Bruhin
d5c5d09b18
Hopefully stabilize test_version
...
When using QuteProcess here, we fight with it over who can read the output.
Just use a raw QProcess instead.
2017-05-02 09:12:06 +02:00
Florian Bruhin
8101fe99a8
Fix starting with Python 2
...
Fixes #2567
2017-04-28 20:51:38 +02:00
Florian Bruhin
4ec5700cbf
Redirect qute:foo to qute://foo
...
Before, we just returned the same data for both, but then we'll run into
same-origin restrictions as qute:history and qute:history/data are not the same
host.
2017-04-06 21:18:58 +02:00
Florian Bruhin
3b351d9066
Run more invocation tests with QtWebEngine
2017-03-31 06:18:43 +02:00
Florian Bruhin
d42dff67f2
Reorder initialization
...
marcos.init() really belongs into _init_modules, and we need to do _process_args
after everything has been initialized.
Fixes #2408 .
2017-03-07 06:46:35 +01:00
Florian Bruhin
d6f47bd3fb
Fix lint
2017-03-02 08:29:43 +01:00
Florian Bruhin
81a36ffd7d
Strip QtWebEngine download suffixes properly
...
Fixes #2386
2017-03-01 23:43:04 +01:00
Florian Bruhin
67dfbc7e5f
Don't create QWebEngine profile at import time
...
Fixes #2378
2017-02-28 17:24:48 +01:00
Florian Bruhin
4f90fd952d
Skip test_qt_arg on Qt 5.2
2017-02-28 08:22:06 +01:00
Florian Bruhin
8d22991d03
Fix test_qt_args
2017-02-27 15:12:38 +01:00
Florian Bruhin
07a20bd1ad
Add an end2end test for --qt-arg
2017-02-27 14:02:13 +01:00
Florian Bruhin
de50f30b9b
Replace all GitHub links
2017-02-05 00:13:11 +01:00
Daniel Schadt
bd5274af5a
fix tests
2017-01-04 17:59:53 +01:00
Florian Bruhin
81d67f8a2c
Remove support for an empty data/config/cachedir
...
See #2115
2016-11-14 23:13:21 +01:00
Florian Bruhin
609e206816
Use pytest.fail
2016-09-29 06:37:04 +02:00
Florian Bruhin
9eacf42693
Import modules
2016-09-29 06:36:31 +02:00
Daniel Karbach
d00750126e
remove superfluous pass statement
2016-09-28 15:50:59 +02:00
Daniel Karbach
7884594f1b
simplify checks in version invocation test
2016-09-28 15:31:32 +02:00
Daniel Karbach
73e1460556
test for --version invocation
2016-09-28 14:38:15 +02:00
Florian Bruhin
4c55963dc3
Fix lint
2016-09-10 17:32:04 +02:00
Florian Bruhin
dc8396986e
FIx expected message in test_invocations
2016-09-10 16:42:26 +02:00