def test_remove_from_list(self, func): m = Mailupy('username', 'password', 'client-id', 'client-secret') assert m.remove_from_list(1, 18)
def test_raise_exception_on_requests_exception(self, func): with self.assertRaises(MailupyException) as ex: m = Mailupy('username', 'password', 'client-id', 'client-secret') assert m.remove_from_list(1, 18)