소스 검색

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