فهرست منبع

[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):