Skip to content

Commit 71260b4

Browse files
renzonrenzon
authored andcommitted
Updated dependencies and Fixed broken tests
1 parent e1583e3 commit 71260b4

File tree

3 files changed

+44
-40
lines changed

3 files changed

+44
-40
lines changed

Pipfile.lock

Lines changed: 41 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pythonpro/launch/tests/test_cpl2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ def launch_status_as_mock(mocker):
1515

1616

1717
@pytest.fixture
18-
def resp(client, tag_as_mock, launch_status_as_mock):
18+
def resp(client, tag_as_mock):
1919
return client.get(reverse('launch:cpl2'), secure=True)
2020

2121

2222
def test_status_code(resp):
23-
assert 200 == resp.status_code
23+
assert 302 == resp.status_code
2424

2525

2626
def test_mailchimp_tag_not_called(resp, tag_as_mock):

pythonpro/launch/tests/test_cpl3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def resp(client, tag_as_mock, launch_status_as_mock):
2020

2121

2222
def test_status_code(resp):
23-
assert 200 == resp.status_code
23+
assert 302 == resp.status_code
2424

2525

2626
def test_mailchimp_tag_not_called(resp, tag_as_mock):

0 commit comments

Comments
 (0)