Skip to content

Commit bc87b8d

Browse files
committed
changing back python birds thanks page
1 parent 6f2cc71 commit bc87b8d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎pythonpro/core/tests/test_lead_landing_page.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ def resp_lead_creation_with_no_offer(client, db, fake: Faker, create_lead_mock,
248248
)
249249

250250

251-
# def test_should_redirect_to_thanks_page_direclty(resp_lead_creation_with_no_offer):
252-
# assert resp_lead_creation_with_no_offer['Location'] == reverse('core:thanks')
251+
def test_should_redirect_to_thanks_page_direclty(resp_lead_creation_with_no_offer):
252+
assert resp_lead_creation_with_no_offer['Location'] == reverse('core:thanks')
253253

254254

255255
@pytest.fixture

‎pythonpro/core/views.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ def _lead_form(request, *args, **kwargs):
184184

185185
login(request, user)
186186

187-
# return redirect(reverse('core:thanks'))
188-
return redirect('https://pythonpro.com.br/jornada-rumo-a-primeira-vaga-inscricao-l9-v2-iscas/'
189-
'?utm_source=iscas&utm_medium=trafego-organico&utm_campaign=L9')
187+
return redirect(reverse('core:thanks'))
188+
# return redirect('https://pythonpro.com.br/jornada-rumo-a-primeira-vaga-inscricao-l9-v2-iscas/'
189+
# '?utm_source=iscas&utm_medium=trafego-organico&utm_campaign=L9')
190190

191191

192192
def lead_form(request):

0 commit comments

Comments
 (0)