Alexander Cogneau
ee77951e66
PEP8 fixes
2015-08-31 01:25:42 +02:00
Florian Bruhin
4fb3114af8
Merge branch 'cmdhistory_tests' of git://github.com/acogneau/qutebrowser into acogneau-cmdhistory_tests
2015-08-27 06:18:30 +02:00
Florian Bruhin
d3e9ffec65
Revert "Revert "Add basekeyparser.py to PERFECT_FILES""
...
This reverts commit 35cbee41d6
.
2015-08-26 20:38:56 +02:00
Florian Bruhin
2750c6ab5a
Make check_coverage.py more testable and add tests.
2015-08-26 20:08:40 +02:00
Florian Bruhin
ae2ee68b85
Fix branch checking in check_coverage.py.
2015-08-26 17:51:51 +02:00
Alexander Cogneau
3a4069667a
Remove test functions out of class
2015-08-26 12:07:47 +02:00
Alexander Cogneau
933d683ff4
Add cmdhistory.py to PERFECT_FILES
2015-08-26 01:20:57 +02:00
Florian Bruhin
f3b4d0ce38
Ignore htmlcov dir for spellchecks.
2015-08-25 22:09:15 +02:00
Florian Bruhin
abba3215f2
Add missing docstring.
2015-08-25 21:17:04 +02:00
Florian Bruhin
5eed9e55ad
check_coverage.py: Always delete .coverage.xml.
2015-08-25 17:59:10 +02:00
Florian Bruhin
7ee4d2f2c9
100% test coverage for commands.argparser.
2015-08-20 07:14:25 +02:00
Florian Bruhin
5a975d1b90
100% test coverage for config.style.
2015-08-19 20:43:06 +02:00
Florian Bruhin
685bbaae6d
100% test coverage for misc.editor.
2015-08-19 09:34:44 +02:00
Florian Bruhin
aca082ce83
100% test coverage for misc.guiprocess.
2015-08-19 07:57:02 +02:00
Florian Bruhin
1a61e53daa
100% test coverage for misc.checkpyver.
2015-08-19 05:58:52 +02:00
Florian Bruhin
5d013a67a7
100% coverage for misc.msgbox.
2015-08-17 23:18:52 +02:00
Florian Bruhin
9892c10f49
100% test coverage for utils.error.
2015-08-17 23:18:39 +02:00
Florian Bruhin
9cd2f6ba24
100% test coverage for commands.cmdutils.
2015-08-17 21:13:13 +02:00
Florian Bruhin
00d81a74c2
100% coverage for browser.network.networkreply.
2015-08-17 07:16:33 +02:00
Florian Bruhin
dff4c37f54
100% test coverage for browser/signalfilter.py.
2015-08-16 23:16:13 +02:00
Florian Bruhin
641c09c011
Don't skip freezing qutebrowser/html for tests.
2015-08-16 21:48:41 +02:00
Florian Bruhin
a463811940
Include BeautifulSoup4 in freeze_tests.py.
2015-08-16 21:41:30 +02:00
Florian Bruhin
ffe6411a5a
Fix asciidoc2html path in build_release.py.
2015-08-16 21:30:12 +02:00
Florian Bruhin
6b19a7b1fa
Also include img directory when freezing.
2015-08-16 20:59:20 +02:00
Florian Bruhin
fb1cffd158
Merge branch 'feature/directory-browser' of git://github.com/antoyo/qutebrowser into dirbrowser
2015-08-16 18:27:05 +02:00
Florian Bruhin
402f9be7e9
Fix lint.
2015-08-16 15:40:26 +02:00
Florian Bruhin
9eca7ae556
appveyor: Fix Python path in registry.
...
This makes PyQt pick up C:\Python34 correctly so we can use the newer AppVeyor
image again.
See https://github.com/appveyor/ci/issues/363 .
2015-08-16 11:14:40 +02:00
Florian Bruhin
952893d984
appveyor: Update to PyQt 5.5 and self-host it.
2015-08-16 11:13:05 +02:00
Florian Bruhin
f2c8ff8aa5
Remove .exe.
2015-08-15 19:19:03 +02:00
Florian Bruhin
36a9b816a7
*Really* fix path in ci_install.py
2015-08-15 19:08:22 +02:00
Florian Bruhin
5d0ffcd14d
Whoops.
2015-08-14 07:56:51 +02:00
Florian Bruhin
2405bf1984
ci_install: Fix path.
2015-08-14 07:42:51 +02:00
Florian Bruhin
fb48059ae9
ci_install: Don't use os.system.
2015-08-14 07:17:53 +02:00
Florian Bruhin
515c9611c4
ci_install: Hopefully fix checking setup.
2015-08-14 07:14:13 +02:00
Florian Bruhin
3bfcfaba4c
Fix lint.
2015-08-14 06:59:36 +02:00
Florian Bruhin
4dee427f0e
ci_install: Check setup after installing.
2015-08-14 06:55:31 +02:00
Florian Bruhin
bbb581eaf8
100% coverage for browser.network.filescheme.
2015-08-13 21:56:22 +02:00
Florian Bruhin
5a1663c584
100% coverage for mainwindow.statusbar.textbase.
2015-08-12 07:40:45 +02:00
Florian Bruhin
927cf84e14
100% test coverage for config.textwrapper.
2015-08-12 07:01:21 +02:00
Florian Bruhin
a6d09b8cc9
100% coverage for browser.network.schemehandler.
2015-08-12 06:53:32 +02:00
Florian Bruhin
da9cb88c81
pylint: Disable protected-access for tests.
2015-08-12 06:44:33 +02:00
Florian Bruhin
83a4451f93
Skip coverage checks when tests are filtered.
2015-08-12 06:42:05 +02:00
Florian Bruhin
cf45d97046
100% test coverage for utils.jinja.
2015-08-12 06:25:05 +02:00
Florian Bruhin
2d8aaecd65
100% coverage for utils.debug.
2015-08-11 17:11:00 +02:00
Florian Bruhin
c8679d6544
100% coverage for browser.webelem.
2015-08-10 19:37:16 +02:00
Florian Bruhin
a28b0c3386
Remove .coverage.ini in check_coverage.py.
2015-08-08 22:55:37 +02:00
Florian Bruhin
3179455e69
Reorganize tox.ini.
...
- The environment to run unittests is now called py34 as that's the common
thing used, and will also allow us to run the tests with Python 3.5.
- The default tests now also run coverage.py and do a coverage check (on
Linux).
- The smoke tests are now part of the default environment.
2015-08-08 22:33:29 +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
6c0f523c89
100% coverage for browser.http and browser.rfc6266.
2015-08-02 19:52:43 +02:00
Florian Bruhin
1d4bb8d8da
100% coverage for misc.split.
2015-08-02 13:42:01 +02:00
Florian Bruhin
d5888fea89
100% coverage for mainwindow.statusbar.progress.
2015-08-02 01:49:33 +02:00
Florian Bruhin
f21cffd9b8
100% coverage for mainwindow.statusbar.percentage.
2015-08-02 01:45:19 +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
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
907a4b0e5e
Add path assertion to check_coverage.py.
...
https://bitbucket.org/ned/coveragepy/issues/235 confuses me - maybe the XML
format will change in the future to not contain the full filename? To make
sure I'll add this assertion, then I'll notice.
2015-07-29 17:31:26 +02:00
Florian Bruhin
b03fea26c2
Add hypothesis to frozen tests.
2015-07-24 18:43:08 +02:00
Florian Bruhin
fd5a89dccd
scripts: Use runcall in run_profile.py.
2015-07-24 15:01:18 +02:00
Florian Bruhin
d805e2d71e
Don't use lxml for check_coverage.py.
...
See #792 .
2015-07-24 14:42:18 +02:00
Florian Bruhin
7f2abd1a46
tests: Enforce 100% coverage for perfect modules.
...
Fixes #792 .
2015-07-24 14:04:40 +02:00
Florian Bruhin
7b8490b6c0
Fix 'an user' spelling.
2015-06-29 17:49:19 +02:00
Florian Bruhin
db06eeded5
Fix spelling.
2015-06-29 17:45:56 +02:00
Florian Bruhin
d845ecd7fc
Also check for spelling errors in .asciidoc/.js files.
2015-06-29 17:44:36 +02:00
Florian Bruhin
be3f61af62
Move developer scripts to dev/ subfolder.
...
Closes #783 .
2015-06-28 22:31:30 +02:00