Florian Bruhin
43266ac08a
webelem: Add more tests.
2015-08-03 23:40:39 +02:00
Florian Bruhin
ed4fc4d1ba
webelem: Escape \r in javascript_escape().
2015-08-03 23:22:23 +02:00
Florian Bruhin
8011cefea6
webelem: Check if elem is writable with roles.
2015-08-03 23:21:45 +02:00
Florian Bruhin
0330adf284
Filter links for :navigate.
2015-08-03 23:21:20 +02:00
Florian Bruhin
21a60f06c0
webelem: Add <link> element to all/prevnext.
2015-08-03 23:17:54 +02:00
Florian Bruhin
030678602a
tox: Update astroid to 1.3.8.
...
Changelog:
Filter out YES nodes when creating a temporary class for the with_metaclass
hack.
Having an YES node in a class bases will lead to a crash with a TypeError
when trying to obtain the ancestors of the given class, because .ancestors()
will try to iterate each inferred node from the bases, thus will try to
iterate over an YES node.
2015-08-03 10:38:42 +02:00
Florian Bruhin
c0941ab19b
Add more webelem tests.
2015-08-02 23:49:22 +02:00
Florian Bruhin
c6a5731560
webelem: Check for vanished elem in is_text_input.
2015-08-02 23:49:22 +02:00
Florian Bruhin
3d9e4817f2
webelem: Fix return value for is_editable().
2015-08-02 23:49:12 +02:00
Florian Bruhin
5c58641c81
Fix WebElementWrapper.__delitem__.
2015-08-02 23:47:35 +02:00
Florian Bruhin
b850df090b
Add branch coverage workaround for coverage.py bug.
2015-08-02 23:47:22 +02:00
Florian Bruhin
b93b32c92f
tox: Ignore test modules for pep257.
2015-08-02 22:16:03 +02:00
Florian Bruhin
982a6eccfb
Rewrite tests/browser/test_webelem.py for pytest.
2015-08-02 22:16:03 +02:00
Florian Bruhin
d23096f898
Also check opposite condition in check_coverage.py.
2015-08-02 22:16:03 +02:00
Florian Bruhin
7d284fa575
pylint: Disable missing-docstring for tests.
2015-08-02 20:38:13 +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
6c0f523c89
100% coverage for browser.http and browser.rfc6266.
2015-08-02 19:52:43 +02:00
Florian Bruhin
62fde783be
pylint: Increase maximum function name length.
2015-08-02 19:51:48 +02:00
Florian Bruhin
2c7dd5c60c
rfc6266: Simplify ContentDisposition.
2015-08-02 19:48:31 +02:00
Florian Bruhin
25d1064aee
Add some more rfc6266 tests.
2015-08-02 19:39:05 +02:00
Florian Bruhin
aaf90d0fe3
Simplify RFC6266 error handling.
2015-08-02 18:09:01 +02:00
Florian Bruhin
cd7c3ec3a4
Fix docstring for http module.
2015-08-02 17:20:21 +02:00
Florian Bruhin
33915b65cf
Test getting path without Content-Disposition.
2015-08-02 17:19:20 +02:00
Florian Bruhin
b4a695d5b8
Strip trailing slash when getting path from URL.
2015-08-02 17:18:59 +02:00
Florian Bruhin
359b886ba0
Small style fixes for test_content_disposition.
2015-08-02 14:07:28 +02:00
Florian Bruhin
1d4bb8d8da
100% coverage for misc.split.
2015-08-02 13:42:01 +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
c13f7e5f78
Remove dead ShellLexer code.
2015-08-02 13:05:19 +02:00
Florian Bruhin
9318173dc8
Test ShellLexer with empty input.
2015-08-02 13:02:32 +02:00
Florian Bruhin
dc4d4e70e4
Make sure state is valid in ShellLexer.
2015-08-02 12:44:54 +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
d5888fea89
100% coverage for mainwindow.statusbar.progress.
2015-08-02 01:49:33 +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
43db9d4526
Fix wrong pyqtSlot type.
2015-08-02 01:42:16 +02:00
Florian Bruhin
e59f533f9d
Add statusbar.keystring to 100% coverage modules.
2015-08-02 01:34:40 +02:00
Florian Bruhin
9db0e03f05
Add some tests for config.configexc.
2015-08-02 01:31:43 +02:00
Florian Bruhin
7f3070f793
Remove : for configexc.NoOptionError.
2015-08-02 01:29:24 +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
0734d9f0de
Merge branch 'artur-shaik-auto_show_tabbar'
2015-08-01 22:43:26 +02:00
Florian Bruhin
f89adc2873
Update docs.
2015-08-01 22:43:20 +02:00
Florian Bruhin
d8017a04a8
Mark old tabbar hide settings as removed.
2015-08-01 22:36:59 +02:00
Florian Bruhin
6b98158d64
Fix lint.
2015-08-01 22:21:08 +02:00