diff --git a/cps/kobo.py b/cps/kobo.py index 6961be8f..d019e918 100644 --- a/cps/kobo.py +++ b/cps/kobo.py @@ -178,7 +178,7 @@ def HandleSyncRequest(): for book in changed_entries: formats = [data.format for data in book.Books.data] if not 'KEPUB' in formats and config.config_kepubifypath and 'EPUB' in formats: - helper.convert_book_format(book.id, config.config_calibre_dir, 'EPUB', 'KEPUB', current_user.nickname) + helper.convert_book_format(book.Books.id, config.config_calibre_dir, 'EPUB', 'KEPUB', current_user.nickname) kobo_reading_state = get_or_create_reading_state(book.Books.id) entitlement = { diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index e0c802ef..1d61b0af 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
-

Start Time: 2021-01-23 19:48:56

+

Start Time: 2021-01-30 15:01:29

-

Stop Time: 2021-01-23 22:16:21

+

Stop Time: 2021-01-30 17:27:29

-

Duration: 2h 0 min

+

Duration: 1h 58 min

@@ -1190,11 +1190,11 @@ - + TestEditBooksOnGdrive 20 - 20 - 0 + 19 + 1 0 0 @@ -1375,11 +1375,31 @@ - +
TestEditBooksOnGdrive - test_watch_metadata
- PASS + +
+ FAIL +
+ + + + @@ -1487,11 +1507,11 @@ - + TestFilePicker 3 - 2 - 1 + 3 + 0 0 0 @@ -1510,33 +1530,11 @@ - +
TestFilePicker - test_filepicker_limited_file
- -
- FAIL -
- - - - + PASS @@ -1617,11 +1615,11 @@ AssertionError: '/home/ozzie/Development/calibre-web' != '' - + TestKoboSync 9 - 9 - 0 + 2 + 7 0 0 @@ -1631,11 +1629,33 @@ AssertionError: '/home/ozzie/Development/calibre-web' != '' - +
TestKoboSync - test_book_download
- PASS + +
+ FAIL +
+ + + + @@ -1649,20 +1669,64 @@ AssertionError: '/home/ozzie/Development/calibre-web' != '' - +
TestKoboSync - test_shelves_add_remove_books
- PASS + +
+ FAIL +
+ + + + - +
TestKoboSync - test_sync_changed_book
- PASS + +
+ FAIL +
+ + + + @@ -1676,49 +1740,137 @@ AssertionError: '/home/ozzie/Development/calibre-web' != '' - +
TestKoboSync - test_sync_reading_state
- PASS + +
+ FAIL +
+ + + + - +
TestKoboSync - test_sync_shelf
- PASS + +
+ FAIL +
+ + + + - +
TestKoboSync - test_sync_unchanged
- PASS + +
+ FAIL +
+ + + + - +
TestKoboSync - test_sync_upload
- PASS + +
+ FAIL +
+ + + + - + TestLdapLogin 13 - 13 - 0 - 0 + 10 + 1 + 2 0 Detail @@ -1817,29 +1969,103 @@ AssertionError: '/home/ozzie/Development/calibre-web' != '' - +
TestLdapLogin - test_ldap_kobo_sync
- PASS + +
+ FAIL +
+ + + + - +
TestLdapLogin - test_ldap_opds_anonymous
- PASS + +
+ ERROR +
+ + + + - +
TestLdapLogin - test_ldap_opds_download_book
- PASS + +
+ ERROR +
+ + + + @@ -2318,11 +2544,11 @@ AssertionError: '/home/ozzie/Development/calibre-web' != '' - + TestReader 5 - 4 - 1 + 5 + 0 0 0 @@ -2368,31 +2594,11 @@ AssertionError: '/home/ozzie/Development/calibre-web' != '' - +
TestReader - test_txt_reader
- -
- FAIL -
- - - - + PASS @@ -2400,13 +2606,13 @@ AssertionError: False is not true : Encoding of textfile viewer is not respected TestRegister - 7 - 7 + 8 + 8 0 0 0 - Detail + Detail @@ -2423,7 +2629,7 @@ AssertionError: False is not true : Encoding of textfile viewer is not respected -
TestRegister - test_limit_domain
+
TestRegister - test_illegal_email
PASS @@ -2432,7 +2638,7 @@ AssertionError: False is not true : Encoding of textfile viewer is not respected -
TestRegister - test_register_no_server
+
TestRegister - test_limit_domain
PASS @@ -2441,7 +2647,7 @@ AssertionError: False is not true : Encoding of textfile viewer is not respected -
TestRegister - test_registering_only_email
+
TestRegister - test_register_no_server
PASS @@ -2450,7 +2656,7 @@ AssertionError: False is not true : Encoding of textfile viewer is not respected -
TestRegister - test_registering_user
+
TestRegister - test_registering_only_email
PASS @@ -2459,7 +2665,7 @@ AssertionError: False is not true : Encoding of textfile viewer is not respected -
TestRegister - test_registering_user_fail
+
TestRegister - test_registering_user
PASS @@ -2467,6 +2673,15 @@ AssertionError: False is not true : Encoding of textfile viewer is not respected + +
TestRegister - test_registering_user_fail
+ + PASS + + + + +
TestRegister - test_user_change_password
@@ -3411,10 +3626,10 @@ AssertionError: False is not true : Encoding of textfile viewer is not respected Total - 298 - 289 + 299 + 281 + 9 2 - 0 7   @@ -3443,7 +3658,7 @@ AssertionError: False is not true : Encoding of textfile viewer is not respected Platform - Linux 5.8.0-40-generic #45~20.04.1-Ubuntu SMP Fri Jan 15 11:35:04 UTC 2021 x86_64 x86_64 + Linux 5.8.0-41-generic #46~20.04.1-Ubuntu SMP Mon Jan 18 17:52:23 UTC 2021 x86_64 x86_64 Basic @@ -3773,7 +3988,7 @@ AssertionError: False is not true : Encoding of textfile viewer is not respected