def test_get_size(self):
        file_size = 42
        SparkleVersionFactory.create_batch(10, file_size=file_size)
        size = SparkleVersion.objects.get_size()
        self.assertEqual(size, file_size*10)
dataset/ETHPy150Open Crystalnix/omaha-server/omaha_server/sparkle/tests/test_managers.py/VersionManagerTest.test_get_size/original