mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-10 01:00:29 +03:00
parent
cd69692424
commit
a5deaa80d8
2 changed files with 2 additions and 1 deletions
|
|
@ -73,6 +73,7 @@ class CommonTest(unittest.TestCase):
|
|||
('59kb', 59000),
|
||||
('343.1 mb', 343100000),
|
||||
('99.9GiB', 107266808217),
|
||||
('1MB', 1000000),
|
||||
):
|
||||
self.assertEqual(fdroidserver.common.parse_human_readable_size(k), v)
|
||||
for v in ((12, 123), '0xfff', [], None, '12,123', '123GG', '982374bb', self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue