Esempio n. 1
0
def test_with_confirmation(tag, dockerfile):
    with spawn(tag, dockerfile, u'bash') as proc:
        proc.sendline(u"export PS1='$ '")
        proc.sendline(u'eval $(thefuck-alias)')
        proc.sendline(u'touch $HISTFILE')
        with_confirmation(proc)
        history_changed(proc)
Esempio n. 2
0
def test_with_confirmation(proc, TIMEOUT):
    with_confirmation(proc, TIMEOUT)
Esempio n. 3
0
def test_with_confirmation(proc, TIMEOUT, run_without_docker):
    with_confirmation(proc, TIMEOUT)
    if not run_without_docker:
        history_changed(proc, TIMEOUT, u'echo test')
Esempio n. 4
0
def test_with_confirmation(proc, TIMEOUT):
    with_confirmation(proc, TIMEOUT)
    history_changed(proc, TIMEOUT, u'echo test')
Esempio n. 5
0
def test_with_confirmation(tag, dockerfile):
    with spawn(tag, dockerfile) as proc:
        proc.sendline('eval $(thefuck-alias)')
        with_confirmation(proc)
Esempio n. 6
0
def test_with_confirmation(proc, TIMEOUT):
    with_confirmation(proc, TIMEOUT)
    history_changed(proc, TIMEOUT, u'echo test')
Esempio n. 7
0
def test_with_confirmation(proc, TIMEOUT, run_without_docker):
    with_confirmation(proc, TIMEOUT)
    if not run_without_docker:
        history_changed(proc, TIMEOUT, u'echo test')
Esempio n. 8
0
def test_with_confirmation(proc):
    with_confirmation(proc)
Esempio n. 9
0
def test_with_confirmation(tag, dockerfile):
    with spawn(tag, dockerfile, u'fish') as proc:
        proc.sendline(u'thefuck-alias > ~/.config/fish/config.fish')
        proc.sendline(u'fish')
        with_confirmation(proc)
Esempio n. 10
0
def test_with_confirmation(proc):
    with_confirmation(proc)
Esempio n. 11
0
def test_with_confirmation(proc):
    with_confirmation(proc)
    history_changed(proc, u'echo test')
Esempio n. 12
0
def test_with_confirmation(tag, dockerfile):
    with spawn(tag, dockerfile, u'tcsh') as proc:
        proc.sendline(u'tcsh')
        proc.sendline(u'eval `thefuck-alias`')
        with_confirmation(proc)
Esempio n. 13
0
def test_with_confirmation(proc):
    with_confirmation(proc)
    history_changed(proc, u'echo test')