Florian Bruhin
09c77cfa83
Merge pull request #25 from hackebrot/markers
...
Markers
2015-04-21 22:41:57 -07:00
Florian Bruhin
9f443d026a
Make pylint shut up.
2015-04-20 23:12:15 +02:00
Florian Bruhin
e783310eb4
Merge pull request #24 from hackebrot/misc-widgets-tests
...
Add tests for CommandLineEdit
2015-04-20 14:00:34 -07:00
Florian Bruhin
a7dfdd48e0
Fix lint.
2015-04-20 22:59:35 +02:00
Florian Bruhin
1b13b0c385
Add --strict to pytest invocation.
2015-04-20 18:02:59 +02:00
Florian Bruhin
c098d0de37
Register the gui marker in tox.ini.
2015-04-20 18:02:04 +02:00
Bruno Oliveira
69061c5629
Remove LimitLineParser from test
...
As suggested by @The-Compiler, this is not really necessary
2015-04-20 12:51:36 -03:00
Bruno Oliveira
f55242ad93
Use pytest-mock to install QApplication.clipboard mock
2015-04-19 17:13:47 -03:00
Bruno Oliveira
2d19708a41
Play nice with other plugins in conftest.py
...
Some plugins might create their own Item subclasses without
a `fixturenames` attribute. Discovered while taking pytest-flakes
for a spin.
2015-04-19 17:11:29 -03:00
Raphael Pierzina
6c97a4a6e0
Remove blank line at end of file to fix flake8
2015-04-19 21:10:27 +02:00
Bruno Oliveira
f5e6091ff6
Add tests for CommandLineEdit
2015-04-15 20:22:03 -03:00
Florian Bruhin
987bab9960
Merge pull request #19 from hackebrot/parametrize-sub-tests
...
Parametrize sub tests
2015-04-14 07:01:53 +02:00
Florian Bruhin
ba678e29fb
Fix lint.
2015-04-14 07:00:56 +02:00
Florian Bruhin
10214a8b83
Merge pull request #23 from hackebrot/single-qnam
...
Use a single QNetworkAccessManager per session.
2015-04-14 07:00:25 +02:00
Bruno Oliveira
0233c96d48
Merge pull request #21 from hackebrot/command-tests
...
Add tests for CommandRunner/KeyConfigParser.
2015-04-13 19:45:24 -03:00
Bruno Oliveira
6ae94d6f49
Create module overflow_test_cases
...
As suggested by @The-Compiler
2015-04-13 18:20:40 -03:00
Florian Bruhin
e8ddd9397d
Use a single QNetworkAccessManager per session.
2015-04-13 22:34:30 +02:00
Florian Bruhin
3433a1ec7a
Add tests for CommandRunner/KeyConfigParser.
2015-04-13 07:54:24 +02:00
Florian Bruhin
fa2340b61e
Merge branch 'master' of github.com:The-Compiler/qutebrowser
2015-04-13 07:53:59 +02:00
Florian Bruhin
d700d18780
Fix handling of no_cmd_split cmds with args.
...
When we have something like ":bind x foo;;bar" it wasn't recognized "bind" is a
no_cmd_split command because we tried to look up "bind x foo" in cmd_dict.
See #615 .
2015-04-13 07:39:18 +02:00
Florian Bruhin
e24b06cdf9
Refactor and fix split commands in CommandRunner.
...
- split() now returns a ParseResult namedtuple with (cmd, args, cmdline)
arguments instead of only returning cmdline and setting self._cmd/self._args.
- Handling of split commands (;;) is now done in a separate parse_all()
function instead of run() to make testing easier.
See #615 .
2015-04-13 07:38:25 +02:00
Florian Bruhin
6b0c16f109
Fix default 'ga' binding.
2015-04-11 13:20:56 +02:00
Bruno Oliveira
f4c46ec1c5
Improve test legibility in TestCheckOverflow
...
Created OverflowTestCases which is responsible to provide data for the tests
2015-04-10 18:22:02 -03:00
Florian Bruhin
31bcc70efb
Treat commands using ;; in key config as valid.
2015-04-10 19:45:59 +02:00
Florian Bruhin
3bc55e0405
Merge pull request #20 from hackebrot/validate-key-config
...
Add a test to validate the default key config.
2015-04-10 08:44:57 +02:00
Raphael Pierzina
0b2e39e4a4
Merge remote-tracking branch 'upstream/master'
2015-04-10 08:40:17 +02:00
Florian Bruhin
f865b87a74
Show a message and update notifier on reports.
...
Fixes #340 .
Fixes #447 .
See #429 .
2015-04-10 08:09:18 +02:00
Florian Bruhin
e294e325f0
Ignore invalid history entries on start.
2015-04-10 06:40:48 +02:00
Bruno Oliveira
29c51c288b
Fix small typo in docstring
2015-04-09 18:47:25 -03:00
Bruno Oliveira
6f1e830aba
Parametrize test_str_split_maxsplit
...
As suggested by @hackebrot
2015-04-09 18:44:40 -03:00
Bruno Oliveira
253f3b2cd7
Use namedtuple and parametrized fixture for TestSplit
...
As discussed in the PR, this greatly improves legibility
2015-04-09 18:40:56 -03:00
Bruno Oliveira
55e3645131
Add comment to test samples in test_basekeyparser
2015-04-09 18:13:13 -03:00
Florian Bruhin
91b72ef292
Add a test to validate the default key config.
2015-04-09 21:20:17 +02:00
Florian Bruhin
8d98868ccd
Fix deprecated default keybindings.
...
Those were auto-corrected with the next run, but still are bad...
2015-04-09 20:36:11 +02:00
Florian Bruhin
83dbe48469
Refactor EventFilter.
2015-04-09 20:22:00 +02:00
Florian Bruhin
f77ba5744b
Add a ui -> hide-mouse-cursor option.
2015-04-09 19:59:16 +02:00
Florian Bruhin
7160a89cb9
Fix NameError in hints.py.
2015-04-09 17:47:09 +02:00
Florian Bruhin
2d8df76609
Add $QUTE_HTML and $QUTE_TEXT for userscripts.
2015-04-09 17:45:16 +02:00
Florian Bruhin
ecb0a4e2f8
manpage: Mention XDG_*_HOME in the FILES section.
...
Closes #619 .
2015-04-09 13:24:52 +02:00
Florian Bruhin
9e0d65c219
manpage: Mention ":help".
...
Closes #618 .
2015-04-09 13:22:16 +02:00
Florian Bruhin
9111ae7b3c
tox: Update pytest-mock to 0.4.3.
...
Upstream changelog:
- mocker and the backward compatible mock fixture now return the same object.
2015-04-09 13:19:39 +02:00
Bruno Oliveira
96ddfd5b65
Parametrize TestSplitCount in test_basekeyparser
...
As pointed out by @The-Compiler
2015-04-09 07:57:32 -03:00
Florian Bruhin
e33517f592
Merge branch 'oed-downloadview-placement'
2015-04-09 12:55:06 +02:00
Florian Bruhin
2a796d9aa4
Regenerate docs.
2015-04-09 12:54:59 +02:00
Joel Torstensson
12c83b721f
Fixed some style errors.
2015-04-09 12:49:32 +02:00
Joel Torstensson
cc2c7c09ea
Changing position without restart now possible.
2015-04-09 11:47:35 +02:00
Joel Torstensson
2fa66ba250
Added option for downloadview placement.
2015-04-09 11:44:59 +02:00
Florian Bruhin
425cffc2f7
pylint: Ignore 'undefined-variable' for tests.
...
It's less than optimal, but disabling it selectively because of
https://bitbucket.org/logilab/pylint/issue/511/ is too annoying.
2015-04-09 07:43:47 +02:00
Florian Bruhin
74f4642a2c
Fix lint.
2015-04-09 07:35:33 +02:00
Florian Bruhin
a2772db9da
Merge pull request #18 from hackebrot/convert-test-jinja
...
Convert test_jinja.py to pytest
2015-04-09 06:54:21 +02:00