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:
6
tests/rules/conftest.py
Normal file
6
tests/rules/conftest.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def generic_shell(monkeypatch):
|
||||
monkeypatch.setattr('thefuck.shells.and_', lambda *x: ' && '.join(x))
|
Reference in New Issue
Block a user