Retain environment setting of "HOME" for tests that need os.path.expanduser() to return a readable directory in the build chroot. --- thefuck-3.25/tests/conftest.py +++ thefuck-3.25/tests/conftest.py @@ -64,6 +64,7 @@ def set_shell(monkeypatch): @pytest.fixture(autouse=True) def os_environ(monkeypatch): - env = {'PATH': os.environ['PATH']} + env = {'PATH': os.environ['PATH'], + 'HOME': os.environ['HOME']} monkeypatch.setattr('os.environ', env) return env class='main'>index : guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests/mail.scm
AgeCommit message (Expand)Author
2019-05-31services: Add getmail....Christopher Baines
2018-10-18services: dhcp-client: Deprecate 'dhcp-client-service' procedure....Ludovic Courtès
2018-06-13tests: Honor the return value of 'start-service'....Clément Lassieur
2018-03-09tests: mail: Add test for dovecot....Oleg Pykhalov
2017-07-20tests: Use 'virtual-machine' records instead of monadic procedures....Ludovic Courtès
2017-04-19tests: mail: Add test for exim...Carlo Zancanaro
2017-04-01tests: Introduce 'simple-operating-system' and use it....Ludovic Courtès
2016-11-27tests: Add 'opensmtpd-service-type' test....宋文武