def test_update(self): self.client.call = Mock(return_value='') h = Image(self.xml, self.client) assert h.update('name', 'New name') is None