From 62bc8362e29cf1f5de48321e55bce30c034aede1 Mon Sep 17 00:00:00 2001 From: Michael Kelly Date: Thu, 9 Nov 2017 16:37:51 -0800 Subject: [PATCH] humanfriendly is using decimal kilobytes now. See https://github.com/xolox/python-humanfriendly/issues/4. --- .../crashstats/crashstats/tests/test_jinja_helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp-django/crashstats/crashstats/tests/test_jinja_helpers.py b/webapp-django/crashstats/crashstats/tests/test_jinja_helpers.py index f81f7d9702..42c8605b4c 100644 --- a/webapp-django/crashstats/crashstats/tests/test_jinja_helpers.py +++ b/webapp-django/crashstats/crashstats/tests/test_jinja_helpers.py @@ -500,7 +500,7 @@ def test_show_filesize(self): expected = ( '10,000 bytes ' '' - '(9.77 KB)' + '(10 KB)' ) assert html == expected @@ -509,7 +509,7 @@ def test_show_filesize(self): expected = ( '10,000 bytes ' '' - '(9.77 KB)' + '(10 KB)' ) assert html == expected