Florian Bruhin
|
7412e4f723
|
Reorganize utils.debug tests and add some more.
|
2015-08-11 07:41:25 +02:00 |
|
Florian Bruhin
|
dcaae51b4f
|
Remove unused imports.
|
2015-08-10 19:47:19 +02:00 |
|
Florian Bruhin
|
c8679d6544
|
100% coverage for browser.webelem.
|
2015-08-10 19:37:16 +02:00 |
|
Florian Bruhin
|
9cabd4828c
|
Skip test_guiprocess:test_error on Windows.
Waiting for a new pytest-qt release which will probably fix this.
|
2015-08-10 06:54:11 +02:00 |
|
Florian Bruhin
|
69f6822c82
|
Fix lint.
|
2015-08-09 23:09:48 +02:00 |
|
Florian Bruhin
|
2fe1bcfc2b
|
Skip GUI tests when no DISPLAY is available.
Fixes #851.
|
2015-08-09 22:45:24 +02:00 |
|
Florian Bruhin
|
fbf53168c2
|
Skip test_double_start_finished on Windows.
It seems the process sometimes crashes...
|
2015-08-09 20:00:45 +02:00 |
|
Florian Bruhin
|
c4ebfcd4b3
|
Make tests fail on unexpected logging messages.
|
2015-08-09 20:00:36 +02:00 |
|
Florian Bruhin
|
fe3eb30892
|
Reorganize exceptions in urlutils.
- Instead of ValueError, a new InvalidUrlError is raised with invalid URLs.
- FuzzyUrlError got removed as it's basically the same as InvalidUrlError.
|
2015-08-09 18:48:32 +02:00 |
|
Daniel
|
bb6d6e51f6
|
Remove trailing whitespace in test_urlutils.py
|
2015-08-08 13:59:43 +02:00 |
|
Daniel
|
72c65a812f
|
Move incdec_number tests to own class
and add tests for numbers in anchors
|
2015-08-08 13:47:17 +02:00 |
|
Daniel
|
9e98ab181a
|
Add URL validity check + tests to incdec_number
|
2015-08-08 00:57:16 +02:00 |
|
Daniel
|
c4c3a83ac0
|
rename url_incdec_number to incdec_number
|
2015-08-08 00:57:16 +02:00 |
|
Daniel
|
276b163e0d
|
Move logic from _navigate_incdec to urlutils
Also add unittests for url_incdec_number
|
2015-08-07 18:48:07 +02:00 |
|
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
|
5ccdec4162
|
Add comment about Qt warning.
|
2015-08-06 23:19:05 +02:00 |
|
Florian Bruhin
|
0a16f29bd1
|
Hexlify strings in TestJavascriptEscape.
|
2015-08-04 23:12:40 +02:00 |
|
Florian Bruhin
|
0ce9ae070c
|
Add some more test cases for TestJavascriptEscape.
|
2015-08-04 12:42:49 +02:00 |
|
Florian Bruhin
|
43266ac08a
|
webelem: Add more tests.
|
2015-08-03 23:40:39 +02:00 |
|
Florian Bruhin
|
c0941ab19b
|
Add more webelem tests.
|
2015-08-02 23:49:22 +02:00 |
|
Florian Bruhin
|
982a6eccfb
|
Rewrite tests/browser/test_webelem.py for pytest.
|
2015-08-02 22:16:03 +02:00 |
|
Florian Bruhin
|
e5056e1c43
|
100% coverage for mainwindow.statusbar.tabindex.
|
2015-08-02 20:34:37 +02:00 |
|
Florian Bruhin
|
2190316b27
|
Fix lint.
|
2015-08-02 20:16:28 +02:00 |
|
Florian Bruhin
|
f8f03ea99d
|
Small simplification in test_http_hypothesis.
|
2015-08-02 20:14:39 +02:00 |
|
Florian Bruhin
|
07641830ae
|
Add hypothesis tests for http/rfc6266.
See #830.
|
2015-08-02 20:12:10 +02:00 |
|
Florian Bruhin
|
25d1064aee
|
Add some more rfc6266 tests.
|
2015-08-02 19:39:05 +02:00 |
|
Florian Bruhin
|
33915b65cf
|
Test getting path without Content-Disposition.
|
2015-08-02 17:19:20 +02:00 |
|
Florian Bruhin
|
359b886ba0
|
Small style fixes for test_content_disposition.
|
2015-08-02 14:07:28 +02:00 |
|
Florian Bruhin
|
b2cb9d6d46
|
Add hypothesis tests for misc.split.
See #830.
|
2015-08-02 13:40:24 +02:00 |
|
Florian Bruhin
|
59460035c5
|
Add simple_split() test with maxsplit=0 and keep.
|
2015-08-02 13:20:30 +02:00 |
|
Florian Bruhin
|
9318173dc8
|
Test ShellLexer with empty input.
|
2015-08-02 13:02:32 +02:00 |
|
Florian Bruhin
|
dacf2cace2
|
Fix line length.
|
2015-08-02 01:57:16 +02:00 |
|
Florian Bruhin
|
49f017c0dd
|
Fix mainwindow.statusbar.percentage tests.
|
2015-08-02 01:53:30 +02:00 |
|
Florian Bruhin
|
fc09d63eb1
|
Fix lint.
|
2015-08-02 01:46:32 +02:00 |
|
Florian Bruhin
|
f21cffd9b8
|
100% coverage for mainwindow.statusbar.percentage.
|
2015-08-02 01:45:19 +02:00 |
|
Florian Bruhin
|
9db0e03f05
|
Add some tests for config.configexc.
|
2015-08-02 01:31:43 +02:00 |
|
Florian Bruhin
|
e94e90baec
|
Add some tests for config.configdata.
|
2015-08-02 00:59:13 +02:00 |
|
Florian Bruhin
|
26f6bb7d0d
|
Rewrite browser.test_tabhistory.py for pytest.
|
2015-08-02 00:34:04 +02:00 |
|
Florian Bruhin
|
0e25f5c730
|
Use a fake process for test_cmd_args.
This should fix the teardown exception (because the message module is not
patched anymore) with the new pytest-qt version.
|
2015-08-01 23:50:29 +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
|
451477593f
|
Always require 4 values for padding.
|
2015-08-01 00:34:09 +02:00 |
|
Florian Bruhin
|
452c4115d3
|
Add a Padding config type.
|
2015-07-31 15:38:41 +02:00 |
|
Florian Bruhin
|
c750ff3f50
|
configtypes: Handle invalid format syntax.
|
2015-07-26 13:56:46 +02:00 |
|
Florian Bruhin
|
4bdf00b148
|
configtypes: Handle {1} correctly.
|
2015-07-26 13:56:40 +02:00 |
|
Florian Bruhin
|
694fbe053d
|
Fix lint.
|
2015-07-24 18:11:52 +02:00 |
|