From c1f1952b04cc8bb489dff94d88d451eebdcbc0e7 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Fri, 6 May 2022 17:48:58 +0200 Subject: [PATCH] Updated jsonschema requirement Testupdate Fixed file mode of main.js --- cps/static/js/main.js | 0 optional-requirements.txt | 2 +- test/Calibre-Web TestSummary_Linux.html | 1086 +++++++++++++++++------ 3 files changed, 791 insertions(+), 297 deletions(-) mode change 100755 => 100644 cps/static/js/main.js diff --git a/cps/static/js/main.js b/cps/static/js/main.js old mode 100755 new mode 100644 diff --git a/optional-requirements.txt b/optional-requirements.txt index 4360d221..a0384bcd 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -41,4 +41,4 @@ natsort>=2.2.0,<8.2.0 comicapi>=2.2.0,<2.3.0 # Kobo integration -jsonschema>=3.2.0,<4.5.0 +jsonschema>=3.2.0,<4.6.0 diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 027aaa81..86255e61 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
-

Start Time: 2022-04-30 21:05:13

+

Start Time: 2022-05-05 20:48:29

-

Stop Time: 2022-05-01 02:54:00

+

Stop Time: 2022-05-06 02:34:54

-

Duration: 4h 55 min

+

Duration: 4h 53 min

@@ -234,15 +234,15 @@ - + TestCli - 10 - 10 - 0 - 0 + 12 + 9 + 2 + 1 0 - Detail + Detail @@ -311,7 +311,47 @@ - + + +
TestCli - test_enable_reconnect
+ + +
+ ERROR +
+ + + + + + + + +
TestCli - test_environ_port_setting
@@ -320,16 +360,36 @@ - +
TestCli - test_no_database
- PASS + +
+ FAIL +
+ + + + - +
TestCli - test_settingsdb_not_writeable
@@ -337,13 +397,42 @@ + + + +
TestCli - test_writeonly_static_files
+ + +
+ FAIL +
+ + + + + + + - + TestCliGdrivedb 4 - 4 0 + 4 0 0 @@ -353,38 +442,131 @@ - +
TestCliGdrivedb - test_cli_gdrive_folder
- PASS + +
+ FAIL +
+ + + + - +
TestCliGdrivedb - test_cli_gdrive_location
- PASS + +
+ FAIL +
+ + + + - +
TestCliGdrivedb - test_gdrive_db_nonwrite
- PASS + +
+ FAIL +
+ + + + - +
TestCliGdrivedb - test_no_database
- PASS + +
+ FAIL +
+ + + + @@ -447,12 +629,12 @@ - + TestEbookConvertCalibre 15 - 15 - 0 - 0 + 5 + 4 + 6 0 Detail @@ -470,74 +652,242 @@ - +
TestEbookConvertCalibre - test_convert_deactivate
- PASS + +
+ ERROR +
+ + + + - +
TestEbookConvertCalibre - test_convert_email
- PASS + +
+ ERROR +
+ + + + - +
TestEbookConvertCalibre - test_convert_failed_and_email
- PASS + +
+ ERROR +
+ + + + - +
TestEbookConvertCalibre - test_convert_only
- PASS + +
+ ERROR +
+ + + + - +
TestEbookConvertCalibre - test_convert_options
- PASS + +
+ FAIL +
+ + + + - +
TestEbookConvertCalibre - test_convert_parameter
- PASS + +
+ ERROR +
+ + + + - +
TestEbookConvertCalibre - test_convert_wrong_excecutable
- PASS + +
+ ERROR +
+ + + + - +
TestEbookConvertCalibre - test_convert_xss
- PASS + +
+ FAIL +
+ + + + @@ -551,11 +901,33 @@ - +
TestEbookConvertCalibre - test_email_only
- PASS + +
+ FAIL +
+ + + + @@ -587,11 +959,33 @@ - +
TestEbookConvertCalibre - test_user_convert_xss
- PASS + +
+ FAIL +
+ + + + @@ -684,7 +1078,7 @@
Traceback (most recent call last):
   File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 443, in test_thumbnail_cache
     self.assertEqual(10*2, count_files(thumbnail_cache_path))
-AssertionError: 20 != 0
+AssertionError: 20 != 9
@@ -695,13 +1089,13 @@ AssertionError: 20 != 0 - + TestEbookConvertKepubify 3 + 0 + 0 3 0 - 0 - 0 Detail @@ -709,41 +1103,103 @@ AssertionError: 20 != 0 - +
TestEbookConvertKepubify - test_convert_deactivate
- PASS + +
+ ERROR +
+ + + + - +
TestEbookConvertKepubify - test_convert_only
- PASS + +
+ ERROR +
+ + + + - +
TestEbookConvertKepubify - test_convert_wrong_excecutable
- PASS + +
+ ERROR +
+ + + + - + TestEbookConvertGDriveKepubify 3 + 0 + 0 3 0 - 0 - 0 Detail @@ -751,29 +1207,91 @@ AssertionError: 20 != 0 - +
TestEbookConvertGDriveKepubify - test_convert_deactivate
- PASS + +
+ ERROR +
+ + + + - +
TestEbookConvertGDriveKepubify - test_convert_only
- PASS + +
+ ERROR +
+ + + + - +
TestEbookConvertGDriveKepubify - test_convert_wrong_excecutable
- PASS + +
+ ERROR +
+ + + + @@ -1618,13 +2136,13 @@ AssertionError: 20 != 0 - + TestLoadMetadata 1 + 0 + 0 1 0 - 0 - 0 Detail @@ -1632,11 +2150,31 @@ AssertionError: 20 != 0 - +
TestLoadMetadata - test_load_metadata
- PASS + +
+ ERROR +
+ + + + @@ -3266,30 +3804,6 @@ AssertionError: 20 != 0 - - TestReconnect - 1 - 1 - 0 - 0 - 0 - - Detail - - - - - - - -
TestReconnect - test_reconnect_endpoint
- - PASS - - - - - TestRegister 8 @@ -3298,13 +3812,13 @@ AssertionError: 20 != 0 0 0 - Detail + Detail - +
TestRegister - test_forgot_password
@@ -3313,7 +3827,7 @@ AssertionError: 20 != 0 - +
TestRegister - test_illegal_email
@@ -3322,7 +3836,7 @@ AssertionError: 20 != 0 - +
TestRegister - test_limit_domain
@@ -3331,7 +3845,7 @@ AssertionError: 20 != 0 - +
TestRegister - test_register_no_server
@@ -3340,7 +3854,7 @@ AssertionError: 20 != 0 - +
TestRegister - test_registering_only_email
@@ -3349,7 +3863,7 @@ AssertionError: 20 != 0 - +
TestRegister - test_registering_user
@@ -3358,7 +3872,7 @@ AssertionError: 20 != 0 - +
TestRegister - test_registering_user_fail
@@ -3367,7 +3881,7 @@ AssertionError: 20 != 0 - +
TestRegister - test_user_change_password
@@ -3385,13 +3899,13 @@ AssertionError: 20 != 0 0 0 - Detail + Detail - +
TestReverseProxy - test_logout
@@ -3400,7 +3914,7 @@ AssertionError: 20 != 0 - +
TestReverseProxy - test_move_page
@@ -3409,7 +3923,7 @@ AssertionError: 20 != 0 - +
TestReverseProxy - test_reverse_about
@@ -3427,13 +3941,13 @@ AssertionError: 20 != 0 0 1 - Detail + Detail - +
TestShelf - test_access_shelf
@@ -3442,7 +3956,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_add_shelf_from_search
@@ -3451,7 +3965,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_adv_search_shelf
@@ -3460,7 +3974,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_arrange_shelf
@@ -3469,7 +3983,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_create_public_shelf
@@ -3478,7 +3992,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_create_public_shelf_no_permission
@@ -3487,7 +4001,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_delete_book_of_shelf
@@ -3496,7 +4010,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_private_shelf
@@ -3505,7 +4019,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_public_private_shelf
@@ -3514,7 +4028,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_public_shelf
@@ -3523,7 +4037,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_rename_shelf
@@ -3532,7 +4046,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_shelf_action_non_shelf_edit_role
@@ -3541,7 +4055,7 @@ AssertionError: 20 != 0 - +
TestShelf - test_shelf_anonymous
@@ -3550,19 +4064,19 @@ AssertionError: 20 != 0 - +
TestShelf - test_shelf_database_change
- SKIP + SKIP
-