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 index : guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/web.scm
AgeCommit message (Expand)Author
2023-07-02services: nginx: Harden php-location settings....* gnu/services/web.scm (nginx-php-location): Only pass existing PHP files to the back end. Mitigate httpoxy vulnerability. Bruno Victal
2023-04-11services: nginx: Add reopen action....This is required to allow log file rotations using rottlog, etc. * gnu/services/web.scm (nginx-shepherd-service): Add reopen shepherd action. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Bruno Victal
2023-04-11services: nginx: Make logging level configurable....* gnu/services/web.scm (<nginx-configuration>)[log-level]: New field. (assert-valid-log-level): New procedure. (default-nginx-config): Make log-level configurable. * doc/guix.texi (Web Services): Document it. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Bruno Victal