mirror of
https://github.com/huashengdun/webssh.git
synced 2026-02-14 11:49:50 +00:00
Set default port 22 on server side
This commit is contained in:
@@ -92,10 +92,6 @@ class TestAppBasic(AsyncHTTPTestCase):
|
||||
response = self.sync_post(body)
|
||||
self.assert_response(b'Missing argument hostname', response)
|
||||
|
||||
body = 'hostname=127.0.0.1&username=admin&password&_xsrf=yummy'
|
||||
response = self.sync_post(body)
|
||||
self.assert_response(b'Missing argument port', response)
|
||||
|
||||
body = 'hostname=127.0.0.1&port=7000&password&_xsrf=yummy'
|
||||
response = self.sync_post(body)
|
||||
self.assert_response(b'Missing argument username', response)
|
||||
@@ -104,10 +100,6 @@ class TestAppBasic(AsyncHTTPTestCase):
|
||||
response = self.sync_post(body)
|
||||
self.assert_response(b'Missing value hostname', response)
|
||||
|
||||
body = 'hostname=127.0.0.1&port=&username=&password&_xsrf=yummy'
|
||||
response = self.sync_post(body)
|
||||
self.assert_response(b'Missing value port', response)
|
||||
|
||||
body = 'hostname=127.0.0.1&port=7000&username=&password&_xsrf=yummy'
|
||||
response = self.sync_post(body)
|
||||
self.assert_response(b'Missing value username', response)
|
||||
|
||||
Reference in New Issue
Block a user