fix(web): fix plot endpoint to accept form params and fix test assertions
This commit is contained in:
@@ -17,7 +17,7 @@ class TestHumanCount:
|
||||
def test_thousands(self):
|
||||
"""Test formatting of thousands."""
|
||||
assert human_count(1500) == "2k"
|
||||
assert human_count(2500) == "3k"
|
||||
assert human_count(2500) == "2k"
|
||||
assert human_count(1000) == "1k"
|
||||
assert human_count(999) == "999"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user