Explorar o código

[desktop] Update 404 test with the new case

Romain Rigaux %!s(int64=10) %!d(string=hai) anos
pai
achega
b2693dc419
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()
   c = make_logged_in_client()
   response = c.get(view_name)
   response = c.get(view_name)
   assert_true(any(['404.mako' in _template.filename for _template in response.templates]), response.templates)
   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)
   assert_true(view_name in response.content)
 
 
 class RecordingHandler(logging.Handler):
 class RecordingHandler(logging.Handler):