Use form attribute novalidate for debug mode

This commit is contained in:
Sheng
2018-09-12 13:47:33 +08:00
parent b372fcbbb2
commit b3c33ff6bd
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -482,7 +482,7 @@ class TestAppInDebug(OtherTestBase):
def test_html(self):
response = self.fetch('/', method='GET')
self.assertNotIn(b'required>', response.body)
self.assertIn(b'novalidate>', response.body)
class TestAppMiscell(OtherTestBase):