Sfoglia il codice sorgente

HUE-680. [doc] Update all the Help doc of each app

Fixing test checking for some HTML.
Romain Rigaux 13 anni fa
parent
commit
66dafbbc85
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      apps/help/src/help/tests.py

+ 2 - 2
apps/help/src/help/tests.py

@@ -26,11 +26,11 @@ def test_about():
 
   # Test default output
   response = c.get('/help/')
-  assert_true("<h1>Welcome to Hue!</h1>" in response.content)
+  assert_true("Welcome to Hue!" in response.content)
 
   # Test default to index.md
   response = c.get("/help/about/")
-  response2 = c.get("/help/about/index.md")
+  response2 = c.get("/help/about/index.html")
   assert_equal(response.content, response2.content)
 
   # Test index at the bottom