def test_disable(self): self.client.call = Mock(return_value='') h = Image(self.xml, self.client) assert h.disable() is None