[commons.util] fix: not properly converting bibyte and byte based sizes to bytes (size_to_byte)

This commit is contained in:
Vinicius Moreira
2022-04-10 14:00:32 -03:00
parent 374b7ce03f
commit f6a8f20d5b
5 changed files with 52 additions and 45 deletions

View File

@@ -20,4 +20,4 @@ class FlatpakTest(TestCase):
SimpleProcess.assert_called_once()
handle_simple.assert_called_once()
self.assertEqual({'org.xpto.Xnote': 4508876.8}, download_size)
self.assertEqual({'org.xpto.Xnote': 4300000}, download_size)