Browse Source

Put test back the way it was

Benjamin Gleitzman 3 years ago
parent
commit
b15f35af9c

BIN
page_cache/httpswwwgooglecomsearchqsitestackoverflowcom20Difference20between20element20node20and20Text20Nodehlen.html.gz


+ 1 - 1
test_howdoi.py

@@ -267,7 +267,7 @@ class HowdoiTestCase(unittest.TestCase):  # pylint: disable=too-many-public-meth
     def test_missing_pre_or_code_query(self):
         output = howdoi.howdoi(self.query_without_code_or_pre_block)
         self.assertTrue(output)
-        self.assertIn('<name>John</name>', output)
+        self.assertIn('XML elements present in a XML', output)
 
     def test_format_url_to_filename(self):
         url = 'https://stackoverflow.com/questions/tagged/cat'