From 5e9dfc0724fe13181dd443813e5030921ebeb871 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Fri, 23 Aug 2024 09:43:30 +0200 Subject: [PATCH] Test update --- cps/templates/search_form.html | 6 +- test/Calibre-Web TestSummary_Linux.html | 301 ++++++++++++------------ 2 files changed, 158 insertions(+), 149 deletions(-) diff --git a/cps/templates/search_form.html b/cps/templates/search_form.html index bdd8d8fc..cea1d436 100644 --- a/cps/templates/search_form.html +++ b/cps/templates/search_form.html @@ -9,7 +9,7 @@
- +
@@ -151,8 +151,8 @@
- - + +
{% if cc|length > 0 %} diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 387b60e6..3e1f5ada 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
-

Start Time: 2024-08-20 20:27:17

+

Start Time: 2024-08-21 19:35:06

-

Stop Time: 2024-08-21 03:36:02

+

Stop Time: 2024-08-22 02:49:49

-

Duration: 6h 2 min

+

Duration: 6h 7 min

@@ -2056,13 +2056,13 @@ - + TestLoadMetadata 1 0 - 0 1 0 + 0 Detail @@ -2070,26 +2070,28 @@ - +
TestLoadMetadata - test_load_metadata
- ERROR + FAIL
-
Traceback (most recent call last):
-  File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 936, in test_watch_metadata
-    self.assertTrue(button)
-AssertionError: False is not true
+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 976, in test_watch_metadata + self.assertNotIn('series', book) +AssertionError: 'series' unexpectedly found in {'id': 5, 'reader': [], 'title': 'testbook', 'author': ['John Döe'], 'rating': 0, 'languages': ['English'], 'identifier': [], 'cover': '/cover/5/og?c=1724266889', 'tag': [], 'publisher': ['Randomhäus'], 'pubdate': 'Jan 19, 2017', 'comment': 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit.Aenean commodo ligula eget dolor.Aenean massa.Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.Nulla consequat massa quis enim.Donec pede justo, fringilla vel, aliquet nec, vulputate', 'add_shelf': [], 'del_shelf': [], 'edit_enable': True, 'kindle': None, 'kindlebtn': None, 'download': ['EPUB\n (6.7 kB)'], 'read': False, 'archived': False, 'series_all': 'Book 1 of test', 'series_index': '1', 'series': 'test', 'cust_columns': []}
@@ -2441,11 +2443,11 @@ AssertionError: False is not true - + TestEmbedMetadata 6 - 5 - 1 + 6 + 0 0 0 @@ -2500,33 +2502,11 @@ AssertionError: False is not true - +
TestEmbedMetadata - test_email_epub_embed_metadata
- -
- FAIL -
- - - - + PASS @@ -4099,53 +4079,88 @@ AssertionError: 1 != 2 - - _ErrorHolder - 1 + + TestRegister + 8 + 8 0 0 - 1 0 - Detail + Detail - + -
setUpClass (test_register)
+
TestRegister - test_forgot_password
- -
- ERROR -
- - - + PASS + + + + + + +
TestRegister - test_illegal_email
+ PASS + + + + + + +
TestRegister - test_limit_domain
+ + PASS + + + + + + +
TestRegister - test_register_no_server
+ + PASS + + + + + + +
TestRegister - test_registering_only_email
+ + PASS + + + + + + +
TestRegister - test_registering_user
+ + PASS + + + + + + +
TestRegister - test_registering_user_fail
+ + PASS + + + + + + +
TestRegister - test_user_change_password
+ + PASS @@ -4202,15 +4217,15 @@ OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1 - + TestShelf - 16 + 17 15 0 - 0 + 1 1 - Detail + Detail @@ -4234,11 +4249,44 @@ OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1 - +
TestShelf - test_adv_search_shelf
- PASS + +
+ ERROR +
+ + + + @@ -4369,6 +4417,15 @@ OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1 + +
TestShelf - test_shelf_order
+ + PASS + + + + +
TestShelf - test_xss_shelf
@@ -4402,12 +4459,12 @@ OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1 - + TestSplitLibrary 7 - 6 + 7 + 0 0 - 1 0 Detail @@ -4443,39 +4500,11 @@ OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1 - +
TestSplitLibrary - test_email_ebook
- -
- ERROR -
- - - - + PASS @@ -4556,11 +4585,11 @@ OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1 - + TestThumbnails 8 - 6 - 1 + 7 + 0 0 1 @@ -4633,31 +4662,11 @@ OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1 - +
TestThumbnails - test_sideloaded_book
- -
- FAIL -
- - - - + PASS @@ -5863,10 +5872,10 @@ AssertionError: 0.039521531544059706 not greater than or equal to 0.04 Total - 515 - 500 - 3 - 3 + 523 + 511 + 2 + 1 9   @@ -6405,7 +6414,7 @@ AssertionError: 0.039521531544059706 not greater than or equal to 0.04