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