From 954c8fcecbd0c5c43e371f58585a2ce18f0a6212 Mon Sep 17 00:00:00 2001 From: mrpandav Date: Wed, 15 Apr 2015 16:49:09 +0530 Subject: [PATCH] changes `test_from_response_formname_notexists_fallback_formid` unit test for pull request #1137 - addition of new shortcut for html form election by formid attribute --- tests/test_http_request.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_http_request.py b/tests/test_http_request.py index 89102016b..01a2de118 100644 --- a/tests/test_http_request.py +++ b/tests/test_http_request.py @@ -547,7 +547,7 @@ class FormRequestTest(RequestTest): fs = _qs(r1) self.assertEqual(fs, {'four': ['4'], 'three': ['3']}) - def test_from_response_formid_notexists_fallback_formname(self): + def test_from_response_formname_notexists_fallback_formid(self): response = _buildresponse( """
@@ -557,7 +557,7 @@ class FormRequestTest(RequestTest):
""") - r1 = self.request_class.from_response(response, formid="form3", formname="form2") + r1 = self.request_class.from_response(response, formname="form3", formid="form2") self.assertEqual(r1.method, 'POST') fs = _qs(r1) self.assertEqual(fs, {'four': ['4'], 'three': ['3']})