Florian Bruhin
4f1c27d230
Merge branch 'basekeyparser_tests' of git://github.com/acogneau/qutebrowser into acogneau-basekeyparser_tests
2015-08-26 17:34:10 +02:00
Florian Bruhin
57918b651f
tox: Remove cov-core.
2015-08-26 17:31:07 +02:00
Alexander Cogneau
cd34fc4b57
Small changes to basekeyparser tests
2015-08-26 12:13:47 +02:00
Alexander Cogneau
fd6e0559a6
remove unnecessary function
2015-08-26 12:10:25 +02:00
Alexander Cogneau
3a4069667a
Remove test functions out of class
2015-08-26 12:07:47 +02:00
Florian Bruhin
8ffe591f98
Skip TestSave.test_long_output on Windows.
...
This seems to segfault unpredictably when exiting pytest and I can't find out
why.
Fixes #895 .
2015-08-26 10:06:49 +02:00
Alexander Cogneau
b4f4c97cf9
Add basekeyparser.py to PERFECT_FILES
2015-08-26 01:22:09 +02:00
Alexander Cogneau
933d683ff4
Add cmdhistory.py to PERFECT_FILES
2015-08-26 01:20:57 +02:00
Alexander Cogneau
9ef9224c32
Remove unecessary class
2015-08-26 00:20:14 +02:00
Alexander Cogneau
a1dff7d535
Final cmdhistory tests
2015-08-26 00:16:18 +02:00
Alexander Cogneau
d3488172ec
Lift duration for test_debug
2015-08-25 22:41:54 +02:00
Alexander Cogneau
18d42d1f0a
More tests for cmdhistory
2015-08-25 22:17:42 +02:00
Florian Bruhin
9229957b93
tests: Ignore QSslSocketBackendPrivate warning.
...
This apparently happens during test_split_hypothesis:test_simple_split[1-True]
for @acogneau.
2015-08-25 22:11:29 +02:00
Florian Bruhin
f3b4d0ce38
Ignore htmlcov dir for spellchecks.
2015-08-25 22:09:15 +02:00
Florian Bruhin
11f4fbc772
Silence pylint.
2015-08-25 21:24:58 +02:00
Florian Bruhin
38a07cc152
Fix lint.
2015-08-25 21:21:49 +02:00
Florian Bruhin
e94f2f11d8
Merge branch 't-wissmann-progressbar'
2015-08-25 21:18:52 +02:00
Florian Bruhin
124099ac4c
Fix docstrings.
2015-08-25 21:18:45 +02:00
Florian Bruhin
0ef323c26a
Update authors.
2015-08-25 21:18:10 +02:00
Florian Bruhin
8171a53478
Merge branch 'progressbar' of git://github.com/t-wissmann/qutebrowser into t-wissmann-progressbar
2015-08-25 21:18:02 +02:00
Florian Bruhin
abba3215f2
Add missing docstring.
2015-08-25 21:17:04 +02:00
Florian Bruhin
8c76db3892
Add some tests for progressbar sizing in statusbar.
2015-08-25 21:07:35 +02:00
Alexander Cogneau
26058f4e80
A few cmdhistory tests
2015-08-25 18:46:49 +02:00
Florian Bruhin
a981688509
tox: Always generate HTML coverage report.
2015-08-25 17:59:36 +02:00
Florian Bruhin
5eed9e55ad
check_coverage.py: Always delete .coverage.xml.
2015-08-25 17:59:10 +02:00
Florian Bruhin
987b39885a
sessions: Add more tests.
2015-08-25 17:49:45 +02:00
Alexander Cogneau
f54295f95c
Test _warn_on_keychains.
2015-08-25 16:28:02 +02:00
Alexander Cogneau
09161faca5
Refactor read_config for easier testing
2015-08-25 12:04:22 +02:00
Florian Bruhin
d17744ffed
Regenerate authors.
2015-08-25 11:38:07 +02:00
Thorsten Wißmann
183a5910de
Fix progressbar height to statusbar height.
...
Formerly, the statusbar height changed when the progressbar was visible.
This was caused by the default font-size of the progressbar text (though
invisible). Overriding the minimumSizeHint() method ignores the
font-size of the hidden text and the statusbar height does not change
anymore.
This fixes the first issue of #886 .
2015-08-25 11:14:52 +02:00
Thorsten Wißmann
830136540d
Hide the border of the completionwidget
...
Having a light Qt theme but a dark qutebrowser theme, one can see an
ugly white border around the completion widget which is some relict from
the underlying Qt widget QTreeView. As qutebrowser has its own theming
settings for the mainwindow, it should hide the Qt theme as far as
possible.
2015-08-25 11:01:25 +02:00
Alexander Cogneau
05eb9bd08c
Remove unnecessary lines
2015-08-25 10:28:46 +02:00
Alexander Cogneau
1a227ae3a7
pytestqt is not required
2015-08-24 19:29:50 +02:00
Florian Bruhin
1a062035eb
Log IPC server name to debug log.
2015-08-24 19:28:09 +02:00
Alexander Cogneau
af9647221a
Add tests for BaseKeyParser
2015-08-24 18:12:12 +02:00
Florian Bruhin
a8d549cb24
sessions: Add some more tests.
2015-08-24 17:12:20 +02:00
Florian Bruhin
201f2f67d3
sessions: Logging/error message improvements.
2015-08-24 17:12:20 +02:00
Florian Bruhin
f79e2c92a4
Read back session test data as UTF-8.
2015-08-24 08:44:41 +02:00
Florian Bruhin
9d601e8eb9
Fix session tests.
2015-08-24 08:31:11 +02:00
Florian Bruhin
8b40603562
Revert "Fix argparser test after win_registry change."
...
This reverts commit 70243d6e2f
.
2015-08-24 08:05:34 +02:00
Florian Bruhin
e7a52a0833
Add some tests for misc.sessions.
2015-08-24 08:00:32 +02:00
Florian Bruhin
4f250ba5d7
tests: Allow tests to add windows to win_registry.
2015-08-24 08:00:16 +02:00
Florian Bruhin
4577659342
Fix crash when there's no completion.
2015-08-24 00:08:55 +02:00
Florian Bruhin
70243d6e2f
Fix argparser test after win_registry change.
...
The last focused window was now window 1 - so we better make this explicit.
2015-08-23 22:37:27 +02:00
Florian Bruhin
7bc5996d52
tests: Provide activeWindow() in FakeQApplication.
2015-08-23 21:55:25 +02:00
Florian Bruhin
9ff97d31da
tests: Provide two windows in win_registry fixture.
2015-08-23 21:55:12 +02:00
Florian Bruhin
b783069f48
SessionManager: Factor out name handling in save.
2015-08-23 21:54:55 +02:00
Florian Bruhin
2556e2e27b
Remove unused import.
2015-08-23 18:29:02 +02:00
Florian Bruhin
0907d8bf76
tests: Add a webview fixture.
2015-08-23 18:17:22 +02:00
Florian Bruhin
17215822bc
sessions: Use try/except to create base-path.
2015-08-23 18:17:10 +02:00