From d47ff8cbf26c2c854e8a76252c505df488dd71e8 Mon Sep 17 00:00:00 2001 From: Vladimir Iakovlev Date: Tue, 28 Mar 2017 12:28:34 +0200 Subject: [PATCH] #620: Fix functional tests --- tests/functional/plots.py | 1 - tests/functional/test_bash.py | 1 + tests/functional/test_zsh.py | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/functional/plots.py b/tests/functional/plots.py index fcbede63..131e4c35 100644 --- a/tests/functional/plots.py +++ b/tests/functional/plots.py @@ -81,6 +81,5 @@ def without_confirmation(proc, TIMEOUT): def how_to_configure(proc, TIMEOUT): - proc.sendline(u'unalias fuck') proc.sendline(u'fuck') assert proc.expect([TIMEOUT, u"alias isn't configured"]) diff --git a/tests/functional/test_bash.py b/tests/functional/test_bash.py index 6503475b..e3749622 100644 --- a/tests/functional/test_bash.py +++ b/tests/functional/test_bash.py @@ -48,4 +48,5 @@ def test_without_confirmation(proc, TIMEOUT): @pytest.mark.functional def test_how_to_configure_alias(proc, TIMEOUT): + proc.sendline('unset -f fuck') how_to_configure(proc, TIMEOUT) diff --git a/tests/functional/test_zsh.py b/tests/functional/test_zsh.py index 7e2d78d0..942f0248 100644 --- a/tests/functional/test_zsh.py +++ b/tests/functional/test_zsh.py @@ -55,4 +55,5 @@ def test_without_confirmation(proc, TIMEOUT): @pytest.mark.functional def test_how_to_configure_alias(proc, TIMEOUT): + proc.sendline(u'unfunction fuck') how_to_configure(proc, TIMEOUT)