Lamar Pavel
27ec9e1c43
Fix typo
2015-10-30 02:46:43 +01:00
Lamar Pavel
b5af1c8730
Add three tests querying and removing data
...
Two of these are testing return values of a deactivated cache and the
third is trying to query data that was never inserted into an active
cache.
2015-10-30 02:41:17 +01:00
Lamar Pavel
b3fa19eb96
Add sanity test involving almost everything
2015-10-30 02:03:34 +01:00
Lamar Pavel
05994ad90e
Add theshold to cache-size test
...
The strict test condition before was violated by Qt internals which
seem to violate documented guarantees but are not part of qutebrowsers
code and thus can only be tested to a certain extent.
2015-10-30 01:22:16 +01:00
skinnay
88ba4831a8
Merge branch 'finished-downloads'
2015-10-29 17:40:22 -04:00
skinnay
6125e51de3
removed whitespace
2015-10-29 14:54:54 -04:00
skinnay
af70e783b6
removed extra whitespace
2015-10-29 14:49:16 -04:00
skinnay
5a34fdfd0c
Changed the functionality of "remove-finished-downloads" setting.
...
Instead of being a boolean value indicating whether or not to instantly remove
downloads when they finish, it's now an integer value representing the
number of milliseconds to wait before removing downloads when they
finish. The default value, -1, means that the downloads will not be
removed when they finished. This is the same behavior as the previous
default value of false.
2015-10-29 13:44:28 -04:00
meles5
7cb462ff82
Improved the folder-copy function
2015-10-29 16:52:38 +01:00
meles5
1488f59d8f
Close file
2015-10-29 16:33:20 +01:00
meles5
f807842a52
Improved code style
2015-10-29 16:30:25 +01:00
meles5
8600acddb1
Moved everything into one block and used with to open files
2015-10-29 15:41:57 +01:00
Jonas Schürmann
a4aacde88f
Undo: Fix issues with url comparison
2015-10-29 09:36:42 +01:00
Lamar Pavel
9a8032fa91
Fix pylint errors (upper case variable names)
2015-10-29 03:13:25 +01:00
Lamar Pavel
a6526a1be2
Add tests to update and verify meta data of cache entries
2015-10-29 02:57:16 +01:00
Lamar Pavel
2cab750a54
Add test for DiskCache.remove()
2015-10-29 02:37:32 +01:00
Lamar Pavel
e4c79a68d1
re-write tests to fill the cache
...
Previously the tests were not adding any data to the cache, making the
tests for a cache size other than 0 meaningless.
The new tests create cache entries and fill them with some data that
can be tested against.
2015-10-29 02:28:57 +01:00
Jonas Schürmann
618d9ceabf
Fix PEP 257 violation
2015-10-29 00:52:44 +01:00
Jonas Schürmann
ebe9835e5a
Remove unused tab on undo
2015-10-29 00:22:54 +01:00
Florian Bruhin
6f07eb562f
Revert "Don't use faulthandler plugin for check_coverage."
...
This reverts commit 497fba5667
.
2015-10-28 08:22:41 +01:00
Florian Bruhin
497fba5667
Don't use faulthandler plugin for check_coverage.
2015-10-28 07:45:34 +01:00
meles5
8de3f8d487
Improved script
2015-10-27 22:24:28 +01:00
Florian Bruhin
11098b8b82
Merge branch 'MazeChaZer-feature/duckduckgo.com'
2015-10-27 20:53:42 +01:00
Florian Bruhin
776a89820f
Regenerate authors.
2015-10-27 20:53:34 +01:00
Jonas Schürmann
fe32b349a5
Use duckduckgo.com instead of www.duckduckgo.com
2015-10-27 20:31:10 +01:00
Florian Bruhin
8004508b3c
wip
2015-10-27 17:57:06 +01:00
Florian Bruhin
9b104b0af7
ci_install: Update installed packages.
2015-10-27 17:54:23 +01:00
Florian Bruhin
a0c2c37a40
travis: Don't pass --required to codecov.
...
The latest release doesn't support that yet.
2015-10-27 17:54:05 +01:00
Florian Bruhin
02dda23be6
AppVeyor: Really fix codecov.
2015-10-27 17:53:50 +01:00
Florian Bruhin
daaa15396c
AppVeyor: Don't use shallow clones.
...
Otherwise codecov.io won't work.
2015-10-27 17:53:14 +01:00
Florian Bruhin
381d857f2c
Revert "Add workarounds for issues with pylint tip."
...
This reverts commit 1d2683993e
.
This causes a bad-option-value issue with the current pylint.
2015-10-26 22:05:21 +01:00
Florian Bruhin
1d2683993e
Add workarounds for issues with pylint tip.
2015-10-26 21:20:11 +01:00
Florian Bruhin
66b337c2b1
Add missing superclass init calls.
2015-10-26 21:07:08 +01:00
Florian Bruhin
021a379dd2
Add xfailed test for #1070 .
2015-10-26 21:02:34 +01:00
Florian Bruhin
fa671a7b5e
Fix codecov on AppVeyor.
2015-10-26 19:38:59 +01:00
Florian Bruhin
7656d1320a
tox: Update pytest-travis-fold to 1.1.1.
2015-10-26 18:55:44 +01:00
Florian Bruhin
4fcb2feced
tox: Add a pylint-tip testenv.
2015-10-26 18:51:41 +01:00
Florian Bruhin
c85aa40073
Skip connected_socket IPC tests on OS X.
...
Fixes #1045 - I don't have the time to look into this :-/
2015-10-26 09:04:41 +01:00
Florian Bruhin
c335aff900
Revert "Add pytest-timeout."
...
This reverts commit 8919a152fe
.
Seems to cause more trouble than it's worth... bogus timeouts on OS X and
Windows, with Windows then hanging...
2015-10-26 08:53:55 +01:00
Florian Bruhin
0cdc744afd
Try running codecov on AppVeyor.
2015-10-26 08:51:06 +01:00
Florian Bruhin
6f646a9da5
travis: Pass -X gcov --required to codecov.
2015-10-26 08:47:00 +01:00
Florian Bruhin
fc573963f4
Fix lint.
2015-10-26 08:43:55 +01:00
Florian Bruhin
4e48e3d725
ci_install: Only install codecov when needed.
2015-10-26 07:37:20 +01:00
Florian Bruhin
66afdbaf16
travis: Don't run codecov if it's unneeded.
2015-10-26 07:35:29 +01:00
Florian Bruhin
cf623f0d8d
ci_install: Also install codecov on OS X.
2015-10-26 07:34:56 +01:00
Florian Bruhin
8919a152fe
Add pytest-timeout.
2015-10-26 07:33:32 +01:00
Florian Bruhin
8dc5c95cef
tox: Pass TRAVIS to testenvs.
...
This hopefully makes pytest-travis-fold work correctly.
2015-10-26 07:31:12 +01:00
Florian Bruhin
8fee25491b
Merge branch 'jcpetkovich-flexible-hint-filtering'
2015-10-26 07:00:52 +01:00
Florian Bruhin
a1ade58557
Update docs.
2015-10-26 07:00:45 +01:00
Florian Bruhin
68024ba6bd
Merge branch 'flexible-hint-filtering' of https://github.com/jcpetkovich/qutebrowser into jcpetkovich-flexible-hint-filtering
2015-10-26 06:59:56 +01:00