aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-12-04 17:02:05 +0100
committerPhilipp Hagemeister <[email protected]>2014-12-04 17:02:05 +0100
commit4349c07dd7cd07620365b36093f0a148c41ce434 (patch)
tree5e587e06a17c0468a1c7d4e30b4cf08e08954a44 /test
parent9776bc7f57f061d133b204c056b1cebee775ddad (diff)
downloadyoutube-dl-4349c07dd7cd07620365b36093f0a148c41ce434.tar.gz
youtube-dl-4349c07dd7cd07620365b36093f0a148c41ce434.zip
[minhateca] Add extractor (Fixes #4094)
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index baa3a2156..04f1bf283 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -376,6 +376,7 @@ class TestUtil(unittest.TestCase):
self.assertEqual(parse_filesize('2 MiB'), 2097152)
self.assertEqual(parse_filesize('5 GB'), 5000000000)
self.assertEqual(parse_filesize('1.2Tb'), 1200000000000)
+ self.assertEqual(parse_filesize('1,24 KB'), 1240)
if __name__ == '__main__':
unittest.main()