Skip to content

Commit

Permalink
test: added a test for the plot description of the attribute complete…
Browse files Browse the repository at this point in the history
…ness, still needs to be made less brittle #828
  • Loading branch information
JanReifenrath authored and Gigaszi committed Nov 12, 2024
1 parent 2a1e9db commit fe3af83
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@ def indicator(
)
asyncio.run(indicator.preprocess())
indicator.calculate()
assert (
indicator.description
== (
"The ratio of the topic Building Count in the "
"selected area (all: 29936.0) " # too specific, needs regex
"compared to the topic Building Count with the "
'expected tag "height" (matched: 8702.0) is 0.29. '
)
)
return indicator

# comment out for manual test
Expand Down

0 comments on commit fe3af83

Please sign in to comment.