mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-21 20:52:32 +01:00
#N/A: Ensure that thefuck successfully installed in functional tests
This commit is contained in:
@@ -20,9 +20,10 @@ containers = (('thefuck/ubuntu-python3-fish',
|
||||
|
||||
|
||||
@pytest.fixture(params=containers)
|
||||
def proc(request, spawnu):
|
||||
def proc(request, spawnu, TIMEOUT):
|
||||
proc = spawnu(*request.param)
|
||||
proc.sendline(u"pip install /src")
|
||||
assert proc.expect([TIMEOUT, u'Successfully installed'])
|
||||
proc.sendline(u'thefuck --alias > ~/.config/fish/config.fish')
|
||||
proc.sendline(u'fish')
|
||||
return proc
|
||||
|
Reference in New Issue
Block a user