Florian Bruhin
|
01f71e980d
|
pylint: Ignore import-error.
|
2015-08-07 00:16:37 +02:00 |
|
Florian Bruhin
|
8aab87e2a2
|
Don't readd capturelog handler after log tests.
I don't really know why, but doing that ends up with something calling
sys.stdout.close()...
Fixes #856.
|
2015-08-07 00:09:02 +02:00 |
|
Florian Bruhin
|
aa1ea9b063
|
Use parametrization for TestKeyToString:test_all.
This generates a lot of tests, but is more stable than our current approach.
|
2015-08-06 23:43:53 +02:00 |
|
Florian Bruhin
|
52d7a5693f
|
Fix lint.
|
2015-08-01 13:47:42 +02:00 |
|
Florian Bruhin
|
fa131e3290
|
Test urlutils.same_domain with invalid URLs.
|
2015-08-01 13:45:51 +02:00 |
|
Florian Bruhin
|
336b7de6d4
|
Clean up same_domain tests.
|
2015-08-01 13:23:03 +02:00 |
|
Florian Bruhin
|
27f65be860
|
Merge branch 'referer-header' of https://github.com/Carpetsmoker/qutebrowser into Carpetsmoker-referer-header
Conflicts:
tests/utils/test_urlutils.py
|
2015-08-01 12:44:57 +02:00 |
|
Florian Bruhin
|
dfba381b57
|
Fix broken utils.version test.
|
2015-07-24 13:53:26 +02:00 |
|
Florian Bruhin
|
ca5a78dfc7
|
Attach numerical code to Qt OSErrors and fix tests.
This fixes tests with tox < 2.0.0 on systems with a non-english locale, as it's
no longer the errorString which gets compared.
Fixes #806.
|
2015-07-12 11:20:28 +02:00 |
|
Florian Bruhin
|
e010d3dabc
|
Fix os.path patching in tests.
Fixes #802.
|
2015-07-06 18:50:34 +02:00 |
|
Florian Bruhin
|
c5b75b0b16
|
Merge remote-tracking branch 'origin/usertypes-tests'
|
2015-07-06 17:58:13 +02:00 |
|
Florian Bruhin
|
a0a7f9feda
|
Skip test_file_absolute_expanded on Windows.
|
2015-07-06 17:22:52 +02:00 |
|
Florian Bruhin
|
3f13c2bd3e
|
Add/improve tests for qutebrowser.utils.urlutils.
|
2015-07-06 17:10:57 +02:00 |
|
Florian Bruhin
|
aa1bf00274
|
Add tests for usertypes.Question.
|
2015-07-06 14:34:47 +02:00 |
|
Florian Bruhin
|
1533108ca6
|
Add tests for usertypes.Timer.
|
2015-07-02 21:10:56 +02:00 |
|
Florian Bruhin
|
b02867fe37
|
Improve enum tests.
|
2015-07-02 21:10:56 +02:00 |
|
Florian Bruhin
|
4e0d00098c
|
Improve NeighborList tests.
|
2015-07-02 21:10:56 +02:00 |
|
Florian Bruhin
|
1672399252
|
Remove unused imports.
|
2015-06-28 23:20:56 +02:00 |
|
Florian Bruhin
|
9b264c7514
|
tests: Share common markers.
|
2015-06-28 22:58:48 +02:00 |
|
Martin Tournoij
|
a346644c71
|
Changed:
- same_domain: If the tld is unknown, only return True if the hostnames are the same
- Fix when starting without an open page
|
2015-06-27 21:15:54 +02:00 |
|
Martin Tournoij
|
f806eefba6
|
Merge branch 'master' into referer-header
|
2015-06-27 20:43:54 +02:00 |
|
Florian Bruhin
|
6dbac1c047
|
Rewrite version.version() tests and test short arg.
|
2015-06-26 22:37:00 +02:00 |
|
Florian Bruhin
|
75b894a186
|
Include DESKTOP_SESSION in qute:version.
|
2015-06-24 20:54:37 +02:00 |
|
Florian Bruhin
|
220ac021f0
|
Print style name in version info.
|
2015-06-24 20:37:48 +02:00 |
|
Florian Bruhin
|
24424a0486
|
Fix expected qWarning messages for Qt 5.5.
|
2015-06-24 20:30:26 +02:00 |
|
Florian Bruhin
|
a5610fd6da
|
Fix TestReadFile when frozen.
|
2015-06-19 09:40:26 +02:00 |
|
Florian Bruhin
|
85f6b3c6df
|
Fix TestGitStr when frozen.
|
2015-06-19 09:40:26 +02:00 |
|
Florian Bruhin
|
08c8a5f7dd
|
Skip tests which need sys.executable when frozen.
See #770
|
2015-06-19 09:40:26 +02:00 |
|
Florian Bruhin
|
b1334bcc22
|
Use repr() for unknown objects in utils.qualname.
|
2015-06-17 06:46:03 +02:00 |
|
Florian Bruhin
|
8033931bae
|
Test key_to_string with all Qt.Key members.
|
2015-06-12 16:37:07 +02:00 |
|
Florian Bruhin
|
3e8a394217
|
Disable no-member for pylint for os.SEEK_*.
This should fix pylint on Windows.
|
2015-06-11 10:49:06 +02:00 |
|
Florian Bruhin
|
480c4e878e
|
Ignore pylint warning on Ubuntu/Travis.
|
2015-06-11 10:26:18 +02:00 |
|
Florian Bruhin
|
c08078841f
|
Fix test_qprocess.
|
2015-06-08 07:49:22 +02:00 |
|
Florian Bruhin
|
1fcce12870
|
Fix TestPyQIODevice.failing_open on Windows.
|
2015-06-08 07:45:19 +02:00 |
|
Florian Bruhin
|
00747be9d3
|
Fix TestSavefileOpen.test_existing_dir on older Qt.
|
2015-06-08 07:43:40 +02:00 |
|
Florian Bruhin
|
261c44bea9
|
Fix TestPyQIODevice.test_qprocess on Windows.
|
2015-06-08 07:42:17 +02:00 |
|
Florian Bruhin
|
1e982a9a84
|
Add/improve tests for qutebrowser.utils.qtutils.
|
2015-06-07 23:20:34 +02:00 |
|
Florian Bruhin
|
e60f698615
|
Add/improve tests for qutebrowser.utils.standarddir.
|
2015-06-07 23:20:34 +02:00 |
|
Florian Bruhin
|
df53ccf426
|
Write tests for qutebrowser.utils.version.
|
2015-06-07 23:20:34 +02:00 |
|
Florian Bruhin
|
4204579c06
|
Add/improve tests for qutebrowser.utils.utils.
|
2015-06-07 22:53:30 +02:00 |
|
Florian Bruhin
|
e86a79740a
|
Use raising=True for QtBot.waitSignal.
|
2015-06-07 02:30:36 +02:00 |
|
Florian Bruhin
|
aa4cb2927d
|
Fix TestHideQtWarning tests for pytest 1.4.0.
pytest captures the Qt logging messages, so we can't use qWarning to test.
|
2015-06-07 02:29:20 +02:00 |
|
Martin Tournoij
|
463e85ff5d
|
Add referer-header setting, #712
|
2015-06-05 18:00:21 +02:00 |
|
Florian Bruhin
|
9ec6e6da80
|
Fix exit status codes to be 0-based.
|
2015-06-04 15:13:20 +02:00 |
|
Florian Bruhin
|
98d1fca220
|
Use monkeypatch instead of mocker in some tests.
See #660.
|
2015-05-18 23:32:01 +02:00 |
|
Florian Bruhin
|
8e417970c3
|
Merge branch 'pytest-rewrites'
|
2015-05-18 21:42:15 +02:00 |
|
Florian Bruhin
|
81ba49e79b
|
Fix tests on OS X, take two.
|
2015-05-17 18:59:40 +02:00 |
|
Florian Bruhin
|
a9f5d45c34
|
Fix tests on OS X.
|
2015-05-17 18:52:55 +02:00 |
|
Florian Bruhin
|
54131e9d3e
|
Add --basedir arg with multiple instance support.
Closes #510.
|
2015-05-16 23:10:20 +02:00 |
|
Florian Bruhin
|
aab5411317
|
Fix test function name.
|
2015-05-16 23:06:33 +02:00 |
|