Exemple #1
0
def test_refuse_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')
        refuse_with_confirmation(proc)
        history_not_changed(proc)
Exemple #2
0
def test_refuse_with_confirmation(proc, TIMEOUT):
    refuse_with_confirmation(proc, TIMEOUT)
Exemple #3
0
def test_refuse_with_confirmation(proc, TIMEOUT, run_without_docker):
    refuse_with_confirmation(proc, TIMEOUT)
    if not run_without_docker:
        history_not_changed(proc, TIMEOUT)
Exemple #4
0
def test_refuse_with_confirmation(proc, TIMEOUT):
    refuse_with_confirmation(proc, TIMEOUT)
    history_not_changed(proc, TIMEOUT)
Exemple #5
0
def test_refuse_with_confirmation(proc, TIMEOUT):
    refuse_with_confirmation(proc, TIMEOUT)
    history_not_changed(proc, TIMEOUT)
Exemple #6
0
def test_refuse_with_confirmation(proc, TIMEOUT, run_without_docker):
    refuse_with_confirmation(proc, TIMEOUT)
    if not run_without_docker:
        history_not_changed(proc, TIMEOUT)
Exemple #7
0
def test_refuse_with_confirmation(tag, dockerfile):
    with spawn(tag, dockerfile, u'zsh') as proc:
        proc.sendline(u'eval $(thefuck-alias)')
        refuse_with_confirmation(proc)
Exemple #8
0
def test_refuse_with_confirmation(proc):
    refuse_with_confirmation(proc)
Exemple #9
0
def test_refuse_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')
        refuse_with_confirmation(proc)
Exemple #10
0
def test_refuse_with_confirmation(proc):
    refuse_with_confirmation(proc)