def test_get_promotions_list(self): client = Vivo() html = client._get(config('PROMOTIONS_URL')) self.assertIn('Ingressos grátis', html)
def test_get_promotion_page(self): page_url = u"detalharEvento.action?caMktEvtCod=PRE21706&k=d95dae5e0a1c5e343959cb76b1f94672" client = Vivo() html = client._get(page_url) self.assertIn("Detalhes do Evento", html)