Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / server2 / patch_servlet_test.py
index 022b150..0dcebaa 100755 (executable)
@@ -129,17 +129,16 @@ class PatchServletTest(unittest.TestCase):
 
     # extensions/runtime.html is removed in the patch, should redirect to the
     # apps version.
-    self._AssertRedirect('extensions/runtime.html', issue,
-                         'apps/runtime.html')
+    self._AssertRedirect('extensions/runtime', issue, 'apps/runtime')
 
     # apps/runtime.html is not removed.
-    self._RenderAndAssertEqual('apps/runtime.html', issue)
+    self._RenderAndAssertEqual('apps/runtime', issue)
 
     # test_foo.html is added in the patch.
-    self._AssertOk('extensions/test_foo.html', issue)
+    self._AssertOk('extensions/test_foo', issue)
 
     # Invalid issue number results in a 404.
-    self._AssertNotFound('extensions/index.html', '11111')
+    self._AssertNotFound('extensions/index', '11111')
 
   def testXssRedirect(self):
     def is_redirect(from_host, from_path, to_url):