19 lines
508 B
Python
19 lines
508 B
Python
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
|
|
|
|
# This file is part of vimiv.
|
|
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
|
|
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
|
|
|
|
import pytest_bdd as bdd
|
|
|
|
from vimiv import api
|
|
from vimiv.commands import aliases
|
|
|
|
|
|
bdd.scenarios("aliases.feature")
|
|
|
|
|
|
@bdd.then(bdd.parsers.parse("the alias {name} should not exist"))
|
|
def check_alias_non_existent(name):
|
|
assert name not in aliases.get(api.modes.GLOBAL)
|