XD-DENG commented on a change in pull request #4911: [AIRFLOW-3768] Escape search parameter in pagination controls URL: https://github.com/apache/airflow/pull/4911#discussion_r265628089
########## File path: tests/www/test_utils.py ########## @@ -17,12 +17,19 @@ # specific language governing permissions and limitations # under the License. -import unittest +from bs4 import BeautifulSoup import mock -from xml.dom import minidom +import six +from six.moves.urllib.parse import parse_qs from airflow.www import utils +if six.PY2: + # Need `assertWarns` back-ported from unittest2 Review comment: @ashb "assertWarns" -> "assertRegex"? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
