Beispiel #1
0
def test_without_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')
        without_confirmation(proc)
        history_changed(proc)
Beispiel #2
0
def test_without_confirmation(proc, TIMEOUT):
    without_confirmation(proc, TIMEOUT)
Beispiel #3
0
def test_without_confirmation(proc, TIMEOUT, run_without_docker):
    without_confirmation(proc, TIMEOUT)
    if not run_without_docker:
        history_changed(proc, TIMEOUT, u'echo test')
Beispiel #4
0
def test_without_confirmation(proc, TIMEOUT):
    without_confirmation(proc, TIMEOUT)
    history_changed(proc, TIMEOUT, u'echo test')
Beispiel #5
0
def test_without_confirmation(tag, dockerfile):
    with spawn(tag, dockerfile) as proc:
        proc.sendline('export THEFUCK_REQUIRE_CONFIRMATION=false')
        proc.sendline('eval $(thefuck-alias)')
        without_confirmation(proc)
Beispiel #6
0
def test_without_confirmation(proc, TIMEOUT):
    without_confirmation(proc, TIMEOUT)
    history_changed(proc, TIMEOUT, u'echo test')
Beispiel #7
0
def test_without_confirmation(proc, TIMEOUT, run_without_docker):
    without_confirmation(proc, TIMEOUT)
    if not run_without_docker:
        history_changed(proc, TIMEOUT, u'echo test')
Beispiel #8
0
def test_without_confirmation(tag, dockerfile):
    with spawn(tag, dockerfile, u'zsh') as proc:
        proc.sendline(u'eval $(thefuck-alias)')
        without_confirmation(proc)
Beispiel #9
0
def test_without_confirmation(proc):
    without_confirmation(proc)
Beispiel #10
0
def test_without_confirmation(tag, dockerfile):
    with spawn(tag, dockerfile, u'fish') as proc:
        proc.sendline(u'thefuck-alias > ~/.config/fish/config.fish')
        proc.sendline(u'fish')
        without_confirmation(proc)
Beispiel #11
0
def test_without_confirmation(proc):
    without_confirmation(proc)
Beispiel #12
0
def test_without_confirmation(proc):
    without_confirmation(proc)
    history_changed(proc, u'echo test')
Beispiel #13
0
def test_without_confirmation(proc):
    without_confirmation(proc)
    history_changed(proc, u'echo test')