OpenTreeMap is a collaborative platform for crowdsourced tree inventory, ecosystem services calculations, urban forestry analysis, and community engagement.
When checking to determine the ecoservice status via systemd, ensure that Python decodes the command output as UTF-8 instead of ASCII because the systemd output contains non-ASCII values.
Also, alter the approach when making area and runoff reduction assertions. Aim to be within a small percentage of the expected value vs. matching the integer-parts
exactly.
Coverage increased (+0.001%) to 83.784% when pulling 09887ee5adfffffebe01f0823c3c12952b779e59 on feature/hmc/systemd-non-ascii-output into e2f059425082fdd4386b7fbaa05c7f3a2795e46a on develop.
When checking to determine the ecoservice status via
systemd
, ensure that Python decodes the command output as UTF-8 instead of ASCII because thesystemd
output contains non-ASCII values.Also, alter the approach when making area and runoff reduction assertions. Aim to be within a small percentage of the expected value vs. matching the integer-parts exactly.
Depends on https://github.com/OpenTreeMap/otm-cloud/pull/487
Testing
Please use https://github.com/OpenTreeMap/otm-cloud/pull/487 to review this PR.