1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-31 02:01:13 +00:00

#620: Fix functional tests

This commit is contained in:
Vladimir Iakovlev 2017-03-28 12:28:34 +02:00
parent 1a52e98fbd
commit d47ff8cbf2
3 changed files with 2 additions and 1 deletions

View File

@ -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"])

View File

@ -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)

View File

@ -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)