mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
dbf4a84950
commit
f1ba6ad031
@ -239,10 +239,12 @@ class TestDeviceInteraction(unittest.TestCase):
|
|||||||
|
|
||||||
# Test get_filesystem
|
# Test get_filesystem
|
||||||
used_by_one = self.measure_memory_usage(1,
|
used_by_one = self.measure_memory_usage(1,
|
||||||
self.dev.dev.get_filesystem, self.storage.object_id)
|
self.dev.dev.get_filesystem, self.storage.object_id, lambda x:
|
||||||
|
x)
|
||||||
|
|
||||||
used_by_many = self.measure_memory_usage(5,
|
used_by_many = self.measure_memory_usage(5,
|
||||||
self.dev.dev.get_filesystem, self.storage.object_id)
|
self.dev.dev.get_filesystem, self.storage.object_id, lambda x:
|
||||||
|
x)
|
||||||
|
|
||||||
self.check_memory(used_by_one, used_by_many,
|
self.check_memory(used_by_one, used_by_many,
|
||||||
'Memory consumption during get_filesystem')
|
'Memory consumption during get_filesystem')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user