def test_campaign_expire_check(self): """Test that the ``campaign_expire_check`` periodic task runs with no errors, and returns the correct result.""" result = campaign_expire_check.delay() self.assertEqual(result.successful(), True)