def test_get_campaign_variation_none_campaing_passed(self):
     result = \
         campaign_util.get_campaign_variation({},
                                              self.variation_name_control)
     self.assertIsNone(result)
 def test_get_campaign_variation_none_goal_passed(self):
     result = \
         campaign_util.get_campaign_variation(self.dummy_campaign,
                                              None)
     self.assertIsNone(result)
 def test_get_campaign_variation_wrong_variation_passed(self):
     result = \
         campaign_util.get_campaign_variation(self.dummy_campaign,
                                              'SOME_VARIATION')
     self.assertIsNone(result)