Skip to content

Commit 0e24752

Browse files
moacirmodarenzon
authored andcommitted
adding redirecting link to thankyou page
1 parent 635b30d commit 0e24752

3 files changed

Lines changed: 1 addition & 11 deletions

File tree

‎pythonpro/pages/tests/test_tpp_webiorico_landing_page.py‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ def test_should_return_200_when_load_invite_page(client):
1616
assert resp.status_code == 200
1717

1818

19-
def test_should_return_200_when_load_thank_you_page(client):
20-
resp = client.get(reverse('pages:tpp_webiorico_thank_you_page'))
21-
assert resp.status_code == 200
22-
23-
2419
@pytest.fixture
2520
def create_or_update_with_no_role(mocker):
2621
return mocker.patch('pythonpro.email_marketing.facade.create_or_update_with_no_role.delay')

‎pythonpro/pages/urls.py‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,4 @@
4545
views.TppWebioricoLandingPage.as_view(),
4646
name='tpp_webiorico_landing_page'
4747
),
48-
path(
49-
'rumo-a-primeira-vaga/obrigado',
50-
views.DsWebinarThankYouPage.as_view(),
51-
name='tpp_webiorico_thank_you_page'
52-
),
5348
]

‎pythonpro/pages/views.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ class BootcampVipThankYouPage(BaseThankYouView):
8888

8989

9090
class TppWebioricoLandingPage(BaseLandingPageView):
91-
success_url = reverse_lazy('pages:ds_webinar_thank_you_page')
91+
success_url = 'https://www.python.pro.br/r/grupo-rumo-a-primeira-vaga'
9292
email_marketing_tag = 'tpp-webiorico'

0 commit comments

Comments
 (0)