Commit Graph

56 Commits (f4351318ecb64ae1fb003fd570d98e890ccb5485)

Author SHA1 Message Date
Sheng f4351318ec Updated tests 2018-08-29 18:10:57 +08:00
Sheng fa717491cd Updated test_server_error 2018-08-29 09:40:07 +08:00
Sheng 6cfd981e80 Tested server error 2018-08-29 09:19:35 +08:00
Sheng ad12876b0c Strip encoding 2018-08-28 20:25:07 +08:00
Sheng 58feb5e76b Enable xsrf for testing 2018-08-28 20:08:03 +08:00
Sheng 688ca78bb2 Use command "locale charmap" to detect encoding 2018-08-28 07:55:41 +08:00
Sheng 80bdddc280 Added setting swallow_http_errors 2018-08-28 07:43:43 +08:00
Sheng e1fbc417fd Added test for bad authentication type 2018-08-26 21:53:28 +08:00
Sheng 1a3880ecee Raise InvalidException for empty required value 2018-08-26 15:40:08 +08:00
Sheng 5519a17016 Return 400 http error for invalid post requests 2018-08-26 15:13:02 +08:00
Sheng df26d0e677 Catch ValueError instead of Exception for post method 2018-08-25 19:51:05 +08:00
Sheng 48acf09f21 Move method get_value to MixinHandler 2018-08-25 17:35:31 +08:00
Sheng f3d9d297bb Updated tests 2018-08-25 06:53:21 +08:00
Sheng 757702127a Move all tests data into a separate directory 2018-08-24 15:11:21 +08:00
Sheng 4710d8c0e6 Added connect_with_options function 2018-08-24 11:11:43 +08:00
Sheng 2e34702988 Changed validation error messages 2018-08-22 17:37:23 +08:00
Sheng 3c139e05f8 Added KEY_MAX_SIZE to validate the private key 2018-08-22 13:03:14 +08:00
Sheng 37299468a9 Added is_valid_hostname to utils 2018-08-20 21:20:55 +08:00
Sheng f610020758 Changed quotes 2018-08-20 20:42:54 +08:00
Sheng bd803328fc Changed error message 2018-08-20 18:55:00 +08:00
Sheng e85ae1692e Added to_bytes function to utils 2018-08-20 18:36:04 +08:00
Sheng f4197f0e4c Use base_dir as the project root directory 2018-08-18 17:39:50 +08:00
Sheng d6de1340c4 Added max_body_size for limiting the size of post form 2018-08-18 16:33:21 +08:00
Sheng 1e4ece58c8 Added functions for validating ip and port 2018-08-10 09:23:25 +08:00
Sheng babd9bd24f Updated tests 2018-06-01 09:32:14 +08:00
Sheng cbeca1c377 Updated sshserver.py 2018-05-30 22:02:17 +08:00
Sheng 469d86ac77 Auto detect system default encoding 2018-05-30 21:29:44 +08:00
Sheng cb5424a166 Added dummy check_channel_window_change_request for testing 2018-05-30 17:35:51 +08:00
Sheng a893507946 Made WsockHandler more robust 2018-05-26 15:51:53 +08:00
Sheng c439f2b6ee Instantly update pseudo-terminal size by client terminal size 2018-05-23 20:25:28 +08:00
Sheng 82929ea484 Changed string to bytes 2018-05-22 19:39:14 +08:00
Sheng 72df3b9ee9 Added print_version 2018-05-06 18:32:31 +08:00
Sheng c70117e590 Updated sshserver.py 2018-04-27 14:41:08 +08:00
Sheng 330145484d Updated test_app.py and sshserver.py 2018-04-27 14:34:06 +08:00
Sheng de0a903de8 Updated test_app.py and sshserver.py 2018-04-27 09:49:48 +08:00
Sheng e88ecb2879 Modified test_app.py sshserver.py 2018-04-27 09:31:52 +08:00
Sheng ffb776ca6c Use absolute path for importing modules 2018-04-26 22:38:16 +08:00
Sheng 81d838c053 Updated test_app.py 2018-04-26 22:21:04 +08:00
Sheng 6094d4bb43 Change listen address to 127.0.0.1 2018-04-26 22:13:51 +08:00
Sheng c90f1e5a57 Added test_app.py 2018-04-26 21:51:01 +08:00
Sheng 331eaa2ba7 Remove unused modules 2018-04-25 21:08:02 +08:00
Sheng d6e4339540 Updated test_handler.py 2018-04-25 21:05:01 +08:00
Sheng d1177bc2c5 Updated handler.py and test_hanlder.py 2018-04-25 19:01:54 +08:00
Sheng 50ab045c1f Use HTTPServerRequest instead 2018-04-24 10:57:25 +08:00
Sheng 42ac3daf87 Updated test_handler.py 2018-04-24 10:23:45 +08:00
Sheng acc3b47ec6 Added test_handler.py 2018-04-24 09:59:51 +08:00
Sheng 5dd08a72a5 Updated test_settings.py 2018-04-24 09:06:27 +08:00
Sheng 99d4b5fbea Updated test_policy.py 2018-04-23 19:55:29 +08:00
Sheng 3165cf2399 Updated test_settings.py 2018-04-23 17:11:07 +08:00
Sheng 5245560b81 Updated test_setttings.py 2018-04-23 17:03:58 +08:00