Corentin Julé
|
6fd8dc4e57
|
Correct test_config_change
|
2016-01-23 16:34:05 +01:00 |
|
Corentin Julé
|
47261dbd30
|
Code cleanup / Good practices
|
2016-01-23 16:15:19 +01:00 |
|
Corentin Julé
|
ff8d5370a3
|
Add ideas for improvement
|
2015-12-08 10:37:04 +01:00 |
|
Corentin Julé
|
99ede3f551
|
Improve coverage and code cleanup
|
2015-12-08 00:52:51 +01:00 |
|
Corentin Julé
|
f8fcd48998
|
remove now useless tests
|
2015-12-07 00:11:19 +01:00 |
|
Corentin Julé
|
6be0ff67f7
|
Replace some tests with a generic host blocking list
|
2015-12-07 00:09:51 +01:00 |
|
Corentin Julé
|
a24a7790cd
|
Improve code readability
|
2015-12-06 19:33:35 +01:00 |
|
Corentin Julé
|
8bff518ba4
|
Refactor and add tests
|
2015-12-06 15:35:10 +01:00 |
|
Corentin Julé
|
ac3d0b9a4c
|
Comply with pylint
|
2015-12-06 00:51:44 +01:00 |
|
Corentin Julé
|
1ba634969a
|
Correct QUrl creation
|
2015-12-06 00:42:33 +01:00 |
|
Corentin Julé
|
472585edd5
|
Add tests for HostBlocker class
|
2015-12-06 00:10:56 +01:00 |
|
Corentin Julé
|
9da15ae2f9
|
Correct is_whitelisted_host test
|
2015-12-05 12:41:52 +01:00 |
|
Corentin Jule
|
d55e6d7d7e
|
Comply with PEP257
|
2015-12-05 01:35:20 +01:00 |
|
Corentin Jule
|
cc946ba6e6
|
implementation of config_stub fixture
|
2015-12-05 01:09:11 +01:00 |
|
Corentin Jule
|
8222a86201
|
Remove useless test
|
2015-12-05 00:16:38 +01:00 |
|
Corentin Jule
|
3426dd06f6
|
Add some docstrings
|
2015-12-04 21:57:34 +01:00 |
|
Corentin Jule
|
95b200ead9
|
Pylint code cleanup
|
2015-12-04 01:52:00 +01:00 |
|
Corentin Jule
|
8dd0249af9
|
Code cleanup - Pep8
|
2015-12-03 22:00:39 +01:00 |
|
Corentin Jule
|
2d850f7106
|
Add tests for first functions of adblock.py
|
2015-12-03 21:12:51 +01:00 |
|
Florian Bruhin
|
e68965fea2
|
bdd: Wait for help pages to be loaded in tests.
This hopefully fixes #1150.
|
2015-12-02 22:22:31 +01:00 |
|
Florian Bruhin
|
4170e3c9af
|
bdd: Simplify qute:settings test.
|
2015-12-02 22:19:43 +01:00 |
|
Florian Bruhin
|
d418f7f9fa
|
Merge branch 'caret_mode_windows_osx' of https://github.com/artur-shaik/qutebrowser into artur-shaik-caret_mode_windows_osx
|
2015-12-02 06:22:27 +01:00 |
|
Panagiotis Ktistakis
|
6e8ac374dd
|
Add tests for :tab-move wrapping.
|
2015-12-02 03:35:25 +02:00 |
|
Panagiotis Ktistakis
|
de3460da3e
|
Wrap tabs on :tab-move +/- if tabs->wrap is true.
|
2015-12-02 03:17:54 +02:00 |
|
Florian Bruhin
|
eff0e4c7cc
|
pylint: Enable useless-suppression globally.
We deactivate it locally where needed, i.e. where we are sure it's some
platform-specific thing.
|
2015-12-01 23:01:09 +01:00 |
|
Florian Bruhin
|
cf54fa1ef1
|
pylint: Remove some now useless suppressions.
|
2015-12-01 23:00:48 +01:00 |
|
Florian Bruhin
|
b3515f5e82
|
pylint: Remove import-error disabling from tests.
|
2015-12-01 22:47:10 +01:00 |
|
Florian Bruhin
|
5817b47f75
|
Revert "Use fully qualified imports in tests."
Seems like this also breaks frozen tests...
This reverts commit c7fdcc92b8 .
|
2015-12-01 22:45:59 +01:00 |
|
Florian Bruhin
|
109984c96e
|
pylint: Check attr-defined-outside-init for tests.
|
2015-12-01 22:41:16 +01:00 |
|
Florian Bruhin
|
803398c49b
|
Use some more fixtures for older tests.
|
2015-12-01 22:40:58 +01:00 |
|
Florian Bruhin
|
c7fdcc92b8
|
Use fully qualified imports in tests.
This is cleaner even if pylint can't handle it.
|
2015-12-01 22:03:59 +01:00 |
|
Florian Bruhin
|
788a096150
|
pylint: Ignore import-error globally for tests.
|
2015-12-01 22:03:59 +01:00 |
|
Florian Bruhin
|
150a83d8f4
|
pylint: Remove unneeded supressions.
|
2015-12-01 22:03:58 +01:00 |
|
Florian Bruhin
|
d53c4f2702
|
tests: Increase test_late_message timeout.
This was failing on Travis on OS X, and waiting 1s for process start and 0.5s
sleep seems a bit tight.
|
2015-12-01 08:10:44 +01:00 |
|
Florian Bruhin
|
7e8f16dd22
|
pylint: Disable deprecated-method in test_conftest.
|
2015-12-01 07:16:53 +01:00 |
|
Florian Bruhin
|
6f9b02741a
|
Switch from map() to list comprehensions.
|
2015-12-01 07:16:32 +01:00 |
|
Florian Bruhin
|
5f13fd2ece
|
Merge branch 'log-javascript-console' of https://github.com/flv0/qutebrowser into flv0-log-javascript-console
|
2015-11-30 08:08:31 +01:00 |
|
Florian Bruhin
|
f7a13fa1f9
|
Rename LineParserWrapper to LineParserMixin.
This makes pylint shut up as it realizes it is, in fact, a mixin.
|
2015-11-30 07:11:35 +01:00 |
|
Florian Bruhin
|
288bf1524e
|
Fix some unidiomatic comparisons.
|
2015-11-30 07:10:21 +01:00 |
|
Patric Schmitz
|
98a454a428
|
log-javascript-console -> [none, debug, info]
|
2015-11-29 18:37:11 +01:00 |
|
Florian Bruhin
|
d286f637d6
|
tests: Set basedir to None, not ''.
Turns out setting basedir='' creates cache/ in cwd.
|
2015-11-29 01:23:28 +01:00 |
|
Florian Bruhin
|
f7a3a9e015
|
Split testprocess.wait_for into two methods.
|
2015-11-29 01:23:19 +01:00 |
|
Florian Bruhin
|
6a46aea934
|
Fix tests for basedir logging.
f5febc4 broke various tests which called standarddir.init() without a valid
basedir.
|
2015-11-29 00:35:18 +01:00 |
|
Florian Bruhin
|
a67644589e
|
bdd: Add first test for :bookmark-add.
|
2015-11-28 23:37:27 +01:00 |
|
Florian Bruhin
|
f9d7f20aac
|
tests: Raise if wait_for is used without kwargs.
Otherwise wait_for would return immediately because matches is empty so
any(matches) is True.
|
2015-11-28 23:36:26 +01:00 |
|
Florian Bruhin
|
f5febc4807
|
Log basedir and save it in QuteProcess for tests.
|
2015-11-28 23:35:32 +01:00 |
|
Florian Bruhin
|
8d5b6b2dad
|
bdd: Add tests for :home.
|
2015-11-28 22:44:05 +01:00 |
|
Florian Bruhin
|
052e758f38
|
bdd: Add tests for :help.
|
2015-11-28 22:34:19 +01:00 |
|
Florian Bruhin
|
c236e70920
|
Merge branch 'log-javascript-console' of https://github.com/flv0/qutebrowser into flv0-log-javascript-console
|
2015-11-28 21:12:25 +01:00 |
|
Florian Bruhin
|
83b94a8be5
|
Fix session tests.
FakeMainWindow needs to be a QObject now as we use sip.isdeleted since
8cf6ace0e7 and that raises a TypeError on
non-QObject's.
|
2015-11-28 20:41:42 +01:00 |
|