Skip to content

Commit

Permalink
feature/client-testing: Fix test method name
Browse files Browse the repository at this point in the history
  • Loading branch information
AltusBarry committed Jan 14, 2019
1 parent 02a2200 commit 79e31a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion captcha/tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_client_success(self, mocked_response):
self.assertTrue(response.is_valid)

@patch("captcha.client.recaptcha_request")
def test_client_success(self, mocked_response):
def test_client_failure1(self, mocked_response):
read_mock = MagicMock()
read_mock.read.return_value = b'{"success": false, "error-codes":' \
b'["invalid-input-response", "invalid-input-secret"]}'
Expand Down

0 comments on commit 79e31a0

Please sign in to comment.