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

refact(shells): add and_ method to assemble expressions involving AND

Signed-off-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
This commit is contained in:
Pablo Santiago Blum de Aguiar
2015-05-12 21:13:51 -03:00
parent d854320acc
commit 3d0d4be4a9
10 changed files with 37 additions and 7 deletions

6
tests/rules/conftest.py Normal file
View File

@@ -0,0 +1,6 @@
import pytest
@pytest.fixture(autouse=True)
def generic_shell(monkeypatch):
monkeypatch.setattr('thefuck.shells.and_', lambda *x: ' && '.join(x))