Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 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)