mocked_zipfile.namlist.return_value = ['one.txt', 'two.txt']
mocked_zipfile.namelist.return_value = ['one.txt', 'two.txt']
mocked_zipfile.namelist()
How to disallow monkey patching of non-existing methods of mocks?