summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorCole Helbling <cole.e.helbling@outlook.com>2020-05-04 10:00:21 -0700
committerProfpatsch <mail@profpatsch.de>2020-05-04 21:31:59 +0200
commita17630204ac21ec490269994531ab674d822d7a0 (patch)
treeb1cbdb4ac6d17a52479e70dd28d3cf754e677d08 /pkgs/development/python-modules/rangehttpserver
parent5cf57c467987721435d5aa1e02765de590769406 (diff)
fish: fix and enable `fishConfig` test
`nix-build -A fish.tests.fishConfig` will now test that the `fish_config` tool would start up properly. Previously, this test was effectively disabled due to `withTests` being stubbed out. I don't think this test ever truly worked, because the generated temporary file would be cleaned up automatically (or maybe this "automatically" changed between versions). The solution to this is to add `delete=False` to the `NamedTemporaryFile` function call, to keep the temporary file around in order to grep its contents for the expected output.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions