bdd: Merge userscripts.feature into spawn.feature
This commit is contained in:
parent
800d069764
commit
a905d46757
@ -8,6 +8,10 @@ Feature: :spawn
|
|||||||
When I run :spawn command_does_not_exist127623
|
When I run :spawn command_does_not_exist127623
|
||||||
Then the error "Error while spawning command: The process failed to start." should be shown
|
Then the error "Error while spawning command: The process failed to start." should be shown
|
||||||
|
|
||||||
|
Scenario: Starting a userscript which doesn't exist
|
||||||
|
When I run :spawn -u this_does_not_exist
|
||||||
|
Then the error "Error while spawning userscript: The process failed to start." should be shown
|
||||||
|
|
||||||
Scenario: Running :spawn with invalid quoting
|
Scenario: Running :spawn with invalid quoting
|
||||||
When I run :spawn ""'""
|
When I run :spawn ""'""
|
||||||
Then the error "Error while splitting command: No closing quotation" should be shown
|
Then the error "Error while splitting command: No closing quotation" should be shown
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
|
|
||||||
|
|
||||||
# Copyright 2016 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
|
|
||||||
#
|
|
||||||
# This file is part of qutebrowser.
|
|
||||||
#
|
|
||||||
# qutebrowser is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# qutebrowser is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
import pytest_bdd as bdd
|
|
||||||
|
|
||||||
bdd.scenarios('userscripts.feature')
|
|
@ -1,3 +0,0 @@
|
|||||||
Scenario: Starting a userscript which doesn't exist
|
|
||||||
When I run :spawn -u this_does_not_exist
|
|
||||||
Then the error "Error while spawning userscript: The process failed to start." should be shown
|
|
Loading…
Reference in New Issue
Block a user