Bruno Oliveira
26dc275db3
Compare full lists instead of looping over items as suggested by @hackebrot
2015-04-08 01:06:31 -03:00
Bruno Oliveira
8702ac8a98
Fix small docstring issues
2015-04-08 01:06:30 -03:00
Bruno Oliveira
75386e4051
Remove "object" subclassing from Test classes missed initially
2015-04-08 01:06:30 -03:00
Florian Bruhin
9d44f777c0
Fix lint.
2015-04-05 20:30:31 +02:00
Florian Bruhin
d3a92d505c
Make lints run with adjusted test folder location.
...
For pylint we need a custom script; see
https://bitbucket.org/logilab/pylint/issue/512/
2015-04-05 18:45:48 +02:00
Florian Bruhin
eb76cd71de
Fix testfile path in MANIFEST.in.
2015-04-05 18:45:48 +02:00
Bruno Oliveira
967c706bf0
Removed xfail from test since issue has been fixed on master
2015-04-05 12:29:18 -03:00
Bruno Oliveira
3864eff0be
Merge remote-tracking branch 'origin/master' into layout
2015-04-05 12:27:55 -03:00
Bruno Oliveira
bfc99f09f9
Renamed test to tests as suggested by @The-Compiler
2015-04-05 12:23:04 -03:00
Bruno Oliveira
5fb7ad383d
Fixed assertions and other issues as reported by @The-Compiler
2015-04-05 12:22:12 -03:00
Bruno Oliveira
3de584f02c
Moving testfile used by test_utils into qutebrowser.utils
2015-04-04 19:15:23 -03:00
Florian Bruhin
6a03089639
Fix deleting of envvars in TestGetStandardDirLinux
2015-04-05 00:03:09 +02:00
Florian Bruhin
1e2a902a9f
Fix paths for TestGetStandardDirLinux.
2015-04-05 00:03:09 +02:00
Florian Bruhin
84d2556863
Merge branch 'master' of github.com:The-Compiler/qutebrowser
2015-04-04 22:05:31 +02:00
Florian Bruhin
1fdd7051c3
config: Filter docs for change_filter.
2015-04-04 22:03:28 +02:00
Florian Bruhin
57158e7191
Don't make default config a mutable global.
...
Before, configdata.DATA only existed once - that means when something
manipulated it, instantiating a new ConfigManager actually gave us the
*modified* rather than the default data.
There's still a (now readonly) configdata.DATA for performance reasons -
before, the settings completion model called data() many times, which caused
initializing of it taking a few (instead of nearly 0) seconds.
See https://github.com/hackebrot/qutebrowser/pull/16#discussion-diff-27770433
2015-04-04 22:01:02 +02:00
Bruno Oliveira
4fa2294805
Merge remote-tracking branch 'origin/master' into layout
...
Conflicts:
qutebrowser/test/keyinput/test_basekeyparser.py
qutebrowser/test/utils/test_standarddir.py
test/browser/http/test_content_disposition.py
test/config/test_configtypes.py
test/misc/test_editor.py
test/utils/test_debug.py
test/utils/test_utils.py
tox.ini
2015-04-04 14:29:49 -03:00
Bruno Oliveira
8222097942
Removed unnecessary module 'helpers'
2015-04-04 14:12:22 -03:00
Bruno Oliveira
2666388a6d
Converted test_utils to pytest
2015-04-04 14:05:05 -03:00
Bruno Oliveira
4ab03b1536
Converted test_urlutils to pytest
2015-04-04 13:49:26 -03:00
Bruno Oliveira
5cf8ff1f84
Converted test_debug to pytest
2015-04-04 13:39:04 -03:00
Bruno Oliveira
bd9c807fb1
Converted test_editor to pytest
2015-04-04 13:29:11 -03:00
Bruno Oliveira
12903a34f4
Converted test_modeparsers to pytest
2015-04-04 13:02:31 -03:00
Bruno Oliveira
065c3fcd9d
Renamed singleShot to isSingleShot in QTimer stub
...
As in compliance to: http://doc.qt.io/qt-5/qtimer.html
2015-04-04 12:52:49 -03:00
Bruno Oliveira
6388ec4794
Converted test_readline to pytest
2015-04-04 12:49:23 -03:00
Bruno Oliveira
7e7a1b7b28
Converted test_basekeyparser to pytest
2015-04-04 12:37:14 -03:00
Bruno Oliveira
9128ac41cb
Removing (object) subclassing from test classes
...
Old habit from python 2
2015-04-04 12:05:44 -03:00
Bruno Oliveira
8000ea33d2
Converted test_config to pytest
2015-04-04 12:02:32 -03:00
Bruno Oliveira
ea16fb3684
Converted test_tabhistory to pytest
2015-04-04 11:43:14 -03:00
Florian Bruhin
cef88d6e19
test_log_time: Prettify duration assertion.
...
As suggested by @nicoddemus in #13 .
2015-04-04 16:33:10 +02:00
Bruno Oliveira
6429d29a23
Converted test_conftest to pytest
2015-04-04 11:24:48 -03:00
Florian Bruhin
b2df5a5b47
docs: Make it clear cache settings are global.
...
Closes #602 .
2015-04-04 15:31:12 +02:00
Florian Bruhin
18dea8c7cb
Add note about about:blank to default-page docs.
2015-04-04 15:10:22 +02:00
Florian Bruhin
217e788f4b
Add 'cd' shortcut to clear downloads.
2015-04-04 15:02:08 +02:00
Florian Bruhin
f1ebbda7a0
test_signal: Add docstring for signal().
2015-04-04 12:08:22 +02:00
Florian Bruhin
8e93747040
test_log_time: Fix/simplify duration assert.
...
See #13 .
2015-04-04 12:07:15 +02:00
Raphael Pierzina
dd4096b5a4
Merge remote-tracking branch 'upstream/master'
2015-04-04 11:12:39 +02:00
Florian Bruhin
e23c9401f2
Merge branch 'convert-debug-signal-tests'
2015-04-04 01:18:38 +02:00
Bruno Oliveira
99abd1edeb
Adding pytest-mock to tox
2015-04-03 20:17:52 -03:00
Florian Bruhin
cd7319de1e
Merge branch 'convert-logtime-tests'
2015-04-04 01:12:18 +02:00
Florian Bruhin
80b0692971
Remove blank line to make pep257 happy.
2015-04-04 01:11:57 +02:00
Bruno Oliveira
22df30cdcc
Converted test_http to pytest
2015-04-03 20:09:53 -03:00
Bruno Oliveira
3129def33e
Converted test_content_disposition to pytest
2015-04-03 20:07:20 -03:00
Florian Bruhin
1c9f116370
Merge branch 'convert-qflags-key-tests'
2015-04-03 23:52:53 +02:00
Florian Bruhin
2ac0c7b8f0
Remove now unused import from test_debug.
2015-04-03 23:52:13 +02:00
Florian Bruhin
05087b976a
test_qflags_key: Improve xfail message.
2015-04-03 23:43:06 +02:00
Bruno Oliveira
7442e30f29
Converted test_webelem to pytest
2015-04-03 18:36:35 -03:00
Bruno Oliveira
f57223f7eb
Removed environ_set_temp as we will use monkeypatch
2015-04-03 18:35:40 -03:00
Florian Bruhin
70f52fa9cc
Merge pull request #11 from hackebrot/convert-qenum-key-tests
...
Convert qenum key tests
2015-04-03 23:29:10 +02:00
Florian Bruhin
544dc650e7
Remove now unused imports from test_debug.
2015-04-03 23:23:31 +02:00