https://docs.python.org/3/library/unittest.mock.html#magic-mock ... > Methods and their defaults: > ... > __len__:1 > ... Should be __len__:0