diff --git a/cps/services/worker.py b/cps/services/worker.py index 5952c705..076c9104 100644 --- a/cps/services/worker.py +++ b/cps/services/worker.py @@ -85,7 +85,7 @@ class WorkerThread(threading.Thread): def add(cls, user, task): ins = cls.getInstance() ins.num += 1 - log.debug("Add Task for user: {}: {}".format(user, task)) + log.debug("Add Task for user: {} - {}".format(user, task)) ins.queue.put(QueuedTask( num=ins.num, user=user, diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index dea6d5e9..3c54e88b 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
-

Start Time: 2021-12-02 06:37:36

+

Start Time: 2021-12-05 19:18:28

-

Stop Time: 2021-12-02 10:15:15

+

Stop Time: 2021-12-05 22:58:48

-

Duration: 2h 57 min

+

Duration: 3h 0 min

@@ -1858,12 +1858,12 @@ - + TestKoboSync 11 - 6 - 4 - 1 + 2 + 9 + 0 0 Detail @@ -1872,11 +1872,35 @@ - +
TestKoboSync - test_book_download
- PASS + +
+ FAIL +
+ + + + @@ -1890,26 +1914,30 @@ - +
TestKoboSync - test_kobo_sync_selected_shelfs
- ERROR + FAIL
-
Traceback (most recent call last):
-  File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 481, in test_shelves_add_remove_books
-    self.assertEqual(1, len(books))
-AssertionError: 1 != 0
+ File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 447, in test_shelves_add_remove_books + self.inital_sync() + File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 111, in inital_sync + self.assertEqual(r.json(), {}) +AssertionError: {'Benefits': {}} != {} +- {'Benefits': {}} ++ {}
@@ -1974,9 +2030,13 @@ AssertionError: 1 != 0
Traceback (most recent call last):
-  File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 286, in test_sync_changed_book
-    self.assertEqual(1, len(data))
-AssertionError: 1 != 2
+ File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 277, in test_sync_changed_book + self.inital_sync() + File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 111, in inital_sync + self.assertEqual(r.json(), {}) +AssertionError: {'Benefits': {}} != {} +- {'Benefits': {}} ++ {}
@@ -1995,11 +2055,35 @@ AssertionError: 1 != 2 - +
TestKoboSync - test_sync_reading_state
- PASS + +
+ FAIL +
+ + + + @@ -2021,9 +2105,13 @@ AssertionError: 1 != 2
Traceback (most recent call last):
-  File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 304, in test_sync_shelf
-    self.assertEqual(1, len(data))
-AssertionError: 1 != 0
+ File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 296, in test_sync_shelf + self.inital_sync() + File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 111, in inital_sync + self.assertEqual(r.json(), {}) +AssertionError: {'Benefits': {}} != {} +- {'Benefits': {}} ++ {}
@@ -2033,11 +2121,35 @@ AssertionError: 1 != 0 - +
TestKoboSync - test_sync_unchanged
- PASS + +
+ FAIL +
+ + + + @@ -2059,9 +2171,13 @@ AssertionError: 1 != 0
Traceback (most recent call last):
-  File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 270, in test_sync_upload
-    self.assertEqual(1, len(data))
-AssertionError: 1 != 0
+ File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 256, in test_sync_upload + self.inital_sync() + File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 111, in inital_sync + self.assertEqual(r.json(), {}) +AssertionError: {'Benefits': {}} != {} +- {'Benefits': {}} ++ {}
@@ -2072,11 +2188,11 @@ AssertionError: 1 != 0 - + TestKoboSyncBig 5 - 5 - 0 + 1 + 4 0 0 @@ -2095,38 +2211,134 @@ AssertionError: 1 != 0 - +
TestKoboSyncBig - test_kobo_sync_selected_shelfs
- PASS + +
+ FAIL +
+ + + + - +
TestKoboSyncBig - test_sync_changed_book
- PASS + +
+ FAIL +
+ + + + - +
TestKoboSyncBig - test_sync_reading_state
- PASS + +
+ FAIL +
+ + + + - +
TestKoboSyncBig - test_sync_shelf
- PASS + +
+ FAIL +
+ + + + @@ -3844,51 +4056,322 @@ AssertionError: 0 != 1 - - _FailedTest - 1 + + TestCalibreWebVisibilitys + 34 + 34 0 0 - 1 0 - Detail + Detail - + -
_FailedTest - test_visiblilitys
+
TestCalibreWebVisibilitys - test_about
- -
- ERROR -
- - - + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_SMTP_Settings
+ PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_add_user
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_password
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_archived
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_authors
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_category
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_file_formats
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_hot
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_language
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_publisher
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_random
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_rated
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_rating
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_read
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_admin_change_visibility_series
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_allow_columns
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_allow_tags
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_archive_books
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_authors_max_settings
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_change_title
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_checked_logged_in
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_hide_custom_column
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_link_column_to_read_status
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_random_books_available
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_request_link_column_to_read_status
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_restrict_columns
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_restrict_tags
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_save_views_recent
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_search_functions
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_search_order
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_search_string
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_user_email_available
+ + PASS + + + + + + +
TestCalibreWebVisibilitys - test_user_visibility_sidebar
+ + PASS @@ -4054,10 +4537,10 @@ SyntaxError: invalid syntax Total - 345 - 332 - 5 - 2 + 378 + 358 + 14 + 0 6   @@ -4086,7 +4569,7 @@ SyntaxError: invalid syntax Platform - Linux 5.13.0-21-generic #21~20.04.1-Ubuntu SMP Tue Oct 26 15:49:20 UTC 2021 x86_64 x86_64 + Linux 5.13.0-22-generic #22~20.04.1-Ubuntu SMP Tue Nov 9 15:07:24 UTC 2021 x86_64 x86_64 Basic @@ -4242,7 +4725,7 @@ SyntaxError: invalid syntax google-api-python-client - 2.31.0 + 2.32.0 TestCliGdrivedb @@ -4272,7 +4755,7 @@ SyntaxError: invalid syntax google-api-python-client - 2.31.0 + 2.32.0 TestEbookConvertCalibreGDrive @@ -4302,7 +4785,7 @@ SyntaxError: invalid syntax google-api-python-client - 2.31.0 + 2.32.0 TestEbookConvertGDriveKepubify @@ -4344,7 +4827,7 @@ SyntaxError: invalid syntax google-api-python-client - 2.31.0 + 2.32.0 TestEditBooksOnGdrive @@ -4374,7 +4857,7 @@ SyntaxError: invalid syntax google-api-python-client - 2.31.0 + 2.32.0 TestSetupGdrive @@ -4464,7 +4947,7 @@ SyntaxError: invalid syntax