瀏覽代碼

[desktop] Update 404 test with the new case

Romain Rigaux 10 年之前
父節點
當前提交
b2693dc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/tests.py

+ 1 - 1
desktop/core/src/desktop/tests.py

@@ -522,7 +522,7 @@ def test_404_handling():
   c = make_logged_in_client()
   response = c.get(view_name)
   assert_true(any(['404.mako' in _template.filename for _template in response.templates]), response.templates)
-  assert_true('Not Found' in response.content)
+  assert_true('not found' in response.content)
   assert_true(view_name in response.content)
 
 class RecordingHandler(logging.Handler):