diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2019-12-26 18:03:39 +0100 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-12-26 18:50:38 +0100 |
| commit | c5c7ccf022559bd3c40506786a1ffba1b28a08d0 (patch) | |
| tree | 692b1e4bfac9de96e9a067e65cc332911707682f /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 495b0b581c53cc36e788a1345963f5b1427deabd (diff) | |
nixos/nginx: fix test
When using format-strings, curly brackets need to be escaped using `{{`
to avoid errors from python.
And apparently, Perl's `==` is used to compare substrings[1] which is why
the translation to `assert http_code == "304"` failed as the string
contains several headers from curl.
[1] Just check `perl <(echo 'die "alarm" if "foo\n304" == 304')`
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
