qutebrowser/tests
Martin Tournoij 7f13c9a3c3
Relax commandline parsing a bit
Problem 1: Entering a command of `:::save` gives an error.
Problem 2: Entering a command of `:save\n` gives an error.

Both scenarios may seem a bit silly at first, but I encountered both by
copy/pasting a command:

1. Enter `:` in qutebrowser.
2. Copy a full line from a terminal starting with `:`.
3. You will now have both of the above problems.

Solution: Trim all whitespace and `:` of a command. This is also what
Vim does, by the way.
2017-03-31 17:14:11 +01:00
..
end2end Relax commandline parsing a bit 2017-03-31 17:14:11 +01:00
helpers Use three-argument form of monkeypatch.*attr 2017-03-01 11:33:41 +01:00
manual Replace all GitHub links 2017-02-05 00:13:11 +01:00
unit Stabilize test_guiprocess 2017-03-31 13:05:34 +02:00
conftest.py Add marker for #2478 2017-03-31 13:03:17 +02:00
test_conftest.py Replace all GitHub links 2017-02-05 00:13:11 +01:00