mirror of
https://github.com/huashengdun/webssh.git
synced 2026-08-23 22:26:28 +00:00
Use form attribute novalidate for debug mode
This commit is contained in:
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user