This commit is contained in:
Ozzie Isaacs 2023-06-18 11:16:50 +02:00
parent e63a04093c
commit 709a4e51ba
2 changed files with 136 additions and 81 deletions

View File

@ -67,8 +67,8 @@ gdrive =
httplib2>=0.9.2,<0.23.0 httplib2>=0.9.2,<0.23.0
oauth2client>=4.0.0,<4.1.4 oauth2client>=4.0.0,<4.1.4
uritemplate>=3.0.0,<4.2.0 uritemplate>=3.0.0,<4.2.0
pyasn1-modules>=0.0.8,<0.3.0 pyasn1-modules>=0.0.8,<0.4.0
pyasn1>=0.1.9,<0.5.0 pyasn1>=0.1.9,<0.6.0
PyDrive2>=1.3.1,<1.16.0 PyDrive2>=1.3.1,<1.16.0
PyYAML>=3.12 PyYAML>=3.12
rsa>=3.4.2,<4.10.0 rsa>=3.4.2,<4.10.0

View File

@ -37,20 +37,20 @@
<div class="row"> <div class="row">
<div class="col-xs-6 col-md-6 col-sm-offset-3" style="margin-top:50px;"> <div class="col-xs-6 col-md-6 col-sm-offset-3" style="margin-top:50px;">
<p class='text-justify attribute'><strong>Start Time: </strong>2023-05-27 20:05:01</p> <p class='text-justify attribute'><strong>Start Time: </strong>2023-06-17 19:25:53</p>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-xs-6 col-md-6 col-sm-offset-3"> <div class="col-xs-6 col-md-6 col-sm-offset-3">
<p class='text-justify attribute'><strong>Stop Time: </strong>2023-05-28 03:05:40</p> <p class='text-justify attribute'><strong>Stop Time: </strong>2023-06-18 01:51:18</p>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-xs-6 col-md-6 col-sm-offset-3"> <div class="col-xs-6 col-md-6 col-sm-offset-3">
<p class='text-justify attribute'><strong>Duration: </strong>5h 54 min</p> <p class='text-justify attribute'><strong>Duration: </strong>5h 25 min</p>
</div> </div>
</div> </div>
</div> </div>
@ -471,15 +471,15 @@
<tr id="su" class="failClass"> <tr id="su" class="passClass">
<td>TestCli</td> <td>TestCli</td>
<td class="text-center">12</td> <td class="text-center">13</td>
<td class="text-center">11</td> <td class="text-center">13</td>
<td class="text-center">1</td> <td class="text-center">0</td>
<td class="text-center">0</td> <td class="text-center">0</td>
<td class="text-center">0</td> <td class="text-center">0</td>
<td class="text-center"> <td class="text-center">
<a onclick="showClassDetail('c4', 12)">Detail</a> <a onclick="showClassDetail('c4', 13)">Detail</a>
</td> </td>
</tr> </tr>
@ -503,33 +503,11 @@
<tr id="ft4.3" class="none bg-danger"> <tr id='pt4.3' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestCli - test_change_password</div> <div class='testcase'>TestCli - test_change_password</div>
</td> </td>
<td colspan='6'> <td colspan='6' align='center'>PASS</td>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft4.3')">FAIL</a>
</div>
<!--css div popup start-->
<div id="div_ft4.3" class="popup_window test_output" style="display:block;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_ft4.3').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left">
<pre class="text-left">Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/test/test_cli.py&#34;, line 432, in test_change_password
self.check_password_change(&#34;admin:aDmin12!&#34;, &#34;Password for user &#39;admin&#39; changed&#34;)
File &#34;/home/ozzie/Development/calibre-web-test/test/test_cli.py&#34;, line 67, in check_password_change
self.assertTrue(re.findall(expectation, nextline))
AssertionError: [] is not true</pre>
</div>
<div class="clearfix"></div>
</div>
<!--css div popup end-->
</td>
</tr> </tr>
@ -590,7 +568,7 @@ AssertionError: [] is not true</pre>
<tr id='pt4.10' class='hiddenRow bg-success'> <tr id='pt4.10' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestCli - test_no_database</div> <div class='testcase'>TestCli - test_logfile</div>
</td> </td>
<td colspan='6' align='center'>PASS</td> <td colspan='6' align='center'>PASS</td>
</tr> </tr>
@ -599,7 +577,7 @@ AssertionError: [] is not true</pre>
<tr id='pt4.11' class='hiddenRow bg-success'> <tr id='pt4.11' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestCli - test_settingsdb_not_writeable</div> <div class='testcase'>TestCli - test_no_database</div>
</td> </td>
<td colspan='6' align='center'>PASS</td> <td colspan='6' align='center'>PASS</td>
</tr> </tr>
@ -607,6 +585,15 @@ AssertionError: [] is not true</pre>
<tr id='pt4.12' class='hiddenRow bg-success'> <tr id='pt4.12' class='hiddenRow bg-success'>
<td>
<div class='testcase'>TestCli - test_settingsdb_not_writeable</div>
</td>
<td colspan='6' align='center'>PASS</td>
</tr>
<tr id='pt4.13' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestCli - test_writeonly_static_files</div> <div class='testcase'>TestCli - test_writeonly_static_files</div>
</td> </td>
@ -1197,13 +1184,13 @@ AssertionError: [] is not true</pre>
<tr id="su" class="skipClass"> <tr id="su" class="skipClass">
<td>TestEditBooks</td> <td>TestEditBooks</td>
<td class="text-center">36</td> <td class="text-center">37</td>
<td class="text-center">35</td> <td class="text-center">35</td>
<td class="text-center">0</td> <td class="text-center">0</td>
<td class="text-center">0</td> <td class="text-center">0</td>
<td class="text-center">1</td> <td class="text-center">2</td>
<td class="text-center"> <td class="text-center">
<a onclick="showClassDetail('c13', 36)">Detail</a> <a onclick="showClassDetail('c13', 37)">Detail</a>
</td> </td>
</tr> </tr>
@ -1382,7 +1369,7 @@ AssertionError: [] is not true</pre>
<tr id="st13.20" class="none bg-warning"> <tr id="st13.20" class="none bg-warning">
<td> <td>
<div class='testcase'>TestEditBooks - test_rename_uppercase_lowercase</div> <div class='testcase'>TestEditBooks - test_rename_upper_lowercase</div>
</td> </td>
<td colspan='6'> <td colspan='6'>
<div class="text-center"> <div class="text-center">
@ -1395,6 +1382,32 @@ AssertionError: [] is not true</pre>
onclick="document.getElementById('div_st13.20').style.display='none'"><span onclick="document.getElementById('div_st13.20').style.display='none'"><span
aria-hidden="true">&times;</span></button> aria-hidden="true">&times;</span></button>
</div> </div>
<div class="text-left pull-left">
<pre class="text-left">For some reason it works, but during test it fails, only if executed in debugger it works</pre>
</div>
<div class="clearfix"></div>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id="st13.21" class="none bg-warning">
<td>
<div class='testcase'>TestEditBooks - test_rename_uppercase_lowercase</div>
</td>
<td colspan='6'>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_st13.21')">SKIP</a>
</div>
<!--css div popup start-->
<div id="div_st13.21" class="popup_window test_output" style="display:none;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_st13.21').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left"> <div class="text-left pull-left">
<pre class="text-left">Not Implemented</pre> <pre class="text-left">Not Implemented</pre>
</div> </div>
@ -1406,7 +1419,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.21' class='hiddenRow bg-success'> <tr id='pt13.22' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_typeahead_author</div> <div class='testcase'>TestEditBooks - test_typeahead_author</div>
</td> </td>
@ -1415,7 +1428,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.22' class='hiddenRow bg-success'> <tr id='pt13.23' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_typeahead_functions</div> <div class='testcase'>TestEditBooks - test_typeahead_functions</div>
</td> </td>
@ -1424,7 +1437,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.23' class='hiddenRow bg-success'> <tr id='pt13.24' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_typeahead_language</div> <div class='testcase'>TestEditBooks - test_typeahead_language</div>
</td> </td>
@ -1433,7 +1446,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.24' class='hiddenRow bg-success'> <tr id='pt13.25' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_typeahead_publisher</div> <div class='testcase'>TestEditBooks - test_typeahead_publisher</div>
</td> </td>
@ -1442,7 +1455,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.25' class='hiddenRow bg-success'> <tr id='pt13.26' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_typeahead_series</div> <div class='testcase'>TestEditBooks - test_typeahead_series</div>
</td> </td>
@ -1451,7 +1464,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.26' class='hiddenRow bg-success'> <tr id='pt13.27' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_typeahead_tag</div> <div class='testcase'>TestEditBooks - test_typeahead_tag</div>
</td> </td>
@ -1460,7 +1473,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.27' class='hiddenRow bg-success'> <tr id='pt13.28' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_upload_book_cbr</div> <div class='testcase'>TestEditBooks - test_upload_book_cbr</div>
</td> </td>
@ -1469,7 +1482,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.28' class='hiddenRow bg-success'> <tr id='pt13.29' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_upload_book_cbt</div> <div class='testcase'>TestEditBooks - test_upload_book_cbt</div>
</td> </td>
@ -1478,7 +1491,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.29' class='hiddenRow bg-success'> <tr id='pt13.30' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_upload_book_cbz</div> <div class='testcase'>TestEditBooks - test_upload_book_cbz</div>
</td> </td>
@ -1487,7 +1500,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.30' class='hiddenRow bg-success'> <tr id='pt13.31' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_upload_book_epub</div> <div class='testcase'>TestEditBooks - test_upload_book_epub</div>
</td> </td>
@ -1496,7 +1509,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.31' class='hiddenRow bg-success'> <tr id='pt13.32' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_upload_book_fb2</div> <div class='testcase'>TestEditBooks - test_upload_book_fb2</div>
</td> </td>
@ -1505,7 +1518,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.32' class='hiddenRow bg-success'> <tr id='pt13.33' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_upload_book_lit</div> <div class='testcase'>TestEditBooks - test_upload_book_lit</div>
</td> </td>
@ -1514,7 +1527,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.33' class='hiddenRow bg-success'> <tr id='pt13.34' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_upload_book_mobi</div> <div class='testcase'>TestEditBooks - test_upload_book_mobi</div>
</td> </td>
@ -1523,7 +1536,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.34' class='hiddenRow bg-success'> <tr id='pt13.35' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_upload_book_pdf</div> <div class='testcase'>TestEditBooks - test_upload_book_pdf</div>
</td> </td>
@ -1532,7 +1545,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.35' class='hiddenRow bg-success'> <tr id='pt13.36' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_upload_cbz_coverformats</div> <div class='testcase'>TestEditBooks - test_upload_cbz_coverformats</div>
</td> </td>
@ -1541,7 +1554,7 @@ AssertionError: [] is not true</pre>
<tr id='pt13.36' class='hiddenRow bg-success'> <tr id='pt13.37' class='hiddenRow bg-success'>
<td> <td>
<div class='testcase'>TestEditBooks - test_upload_cover_hdd</div> <div class='testcase'>TestEditBooks - test_upload_cover_hdd</div>
</td> </td>
@ -1689,11 +1702,11 @@ AssertionError: [] is not true</pre>
<tr id="su" class="passClass"> <tr id="su" class="failClass">
<td>TestEditBooksList</td> <td>TestEditBooksList</td>
<td class="text-center">18</td> <td class="text-center">18</td>
<td class="text-center">18</td> <td class="text-center">17</td>
<td class="text-center">0</td> <td class="text-center">1</td>
<td class="text-center">0</td> <td class="text-center">0</td>
<td class="text-center">0</td> <td class="text-center">0</td>
<td class="text-center"> <td class="text-center">
@ -1703,11 +1716,33 @@ AssertionError: [] is not true</pre>
<tr id='pt16.1' class='hiddenRow bg-success'> <tr id="ft16.1" class="none bg-danger">
<td> <td>
<div class='testcase'>TestEditBooksList - test_bookslist_edit_author</div> <div class='testcase'>TestEditBooksList - test_bookslist_edit_author</div>
</td> </td>
<td colspan='6' align='center'>PASS</td> <td colspan='6'>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft16.1')">FAIL</a>
</div>
<!--css div popup start-->
<div id="div_ft16.1" class="popup_window test_output" style="display:block;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_ft16.1').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left">
<pre class="text-left">Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py&#34;, line 117, in test_bookslist_edit_author
self.assertEqual(&#34;John D, James Költ&#34;, bl[&#39;table&#39;][3][&#39;Author Sort&#39;][&#39;text&#39;])
AssertionError: &#39;John D, James Költ&#39; != &#39;Költ, John D| James&#39;
- John D, James Költ
+ Költ, John D| James</pre>
</div>
<div class="clearfix"></div>
</div>
<!--css div popup end-->
</td>
</tr> </tr>
@ -1866,13 +1901,13 @@ AssertionError: [] is not true</pre>
<tr id="su" class="passClass"> <tr id="su" class="errorClass">
<td>TestLoadMetadata</td> <td>TestLoadMetadata</td>
<td class="text-center">1</td> <td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center">1</td> <td class="text-center">1</td>
<td class="text-center">0</td> <td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center"> <td class="text-center">
<a onclick="showClassDetail('c17', 1)">Detail</a> <a onclick="showClassDetail('c17', 1)">Detail</a>
</td> </td>
@ -1880,11 +1915,31 @@ AssertionError: [] is not true</pre>
<tr id='pt17.1' class='hiddenRow bg-success'> <tr id="et17.1" class="none bg-info">
<td> <td>
<div class='testcase'>TestLoadMetadata - test_load_metadata</div> <div class='testcase'>TestLoadMetadata - test_load_metadata</div>
</td> </td>
<td colspan='6' align='center'>PASS</td> <td colspan='6'>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et17.1')">ERROR</a>
</div>
<!--css div popup start-->
<div id="div_et17.1" class="popup_window test_output" style="display:block;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_et17.1').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left">
<pre class="text-left">Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py&#34;, line 84, in test_load_metadata
elif &#39;https://amazon.com/&#39; == results[20][&#39;source&#39;]:
IndexError: list index out of range</pre>
</div>
<div class="clearfix"></div>
</div>
<!--css div popup end-->
</td>
</tr> </tr>
@ -5085,11 +5140,11 @@ AssertionError: [] is not true</pre>
<tr id='total_row' class="text-center bg-grey"> <tr id='total_row' class="text-center bg-grey">
<td>Total</td> <td>Total</td>
<td>455</td> <td>457</td>
<td>447</td> <td>447</td>
<td>1</td> <td>1</td>
<td>0</td> <td>1</td>
<td>7</td> <td>8</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
</table> </table>
@ -5117,7 +5172,7 @@ AssertionError: [] is not true</pre>
<tr> <tr>
<th>Platform</th> <th>Platform</th>
<td>Linux 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64</td> <td>Linux 5.19.0-43-generic #44~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon May 22 13:39:36 UTC 2 x86_64 x86_64</td>
<td>Basic</td> <td>Basic</td>
</tr> </tr>
@ -5261,13 +5316,13 @@ AssertionError: [] is not true</pre>
<tr> <tr>
<th>Werkzeug</th> <th>Werkzeug</th>
<td>2.3.4</td> <td>2.3.6</td>
<td>Basic</td> <td>Basic</td>
</tr> </tr>
<tr> <tr>
<th>google-api-python-client</th> <th>google-api-python-client</th>
<td>2.87.0</td> <td>2.89.0</td>
<td>TestBackupMetadataGdrive</td> <td>TestBackupMetadataGdrive</td>
</tr> </tr>
@ -5297,7 +5352,7 @@ AssertionError: [] is not true</pre>
<tr> <tr>
<th>google-api-python-client</th> <th>google-api-python-client</th>
<td>2.87.0</td> <td>2.89.0</td>
<td>TestCliGdrivedb</td> <td>TestCliGdrivedb</td>
</tr> </tr>
@ -5327,7 +5382,7 @@ AssertionError: [] is not true</pre>
<tr> <tr>
<th>google-api-python-client</th> <th>google-api-python-client</th>
<td>2.87.0</td> <td>2.89.0</td>
<td>TestEbookConvertCalibreGDrive</td> <td>TestEbookConvertCalibreGDrive</td>
</tr> </tr>
@ -5357,7 +5412,7 @@ AssertionError: [] is not true</pre>
<tr> <tr>
<th>google-api-python-client</th> <th>google-api-python-client</th>
<td>2.87.0</td> <td>2.89.0</td>
<td>TestEbookConvertGDriveKepubify</td> <td>TestEbookConvertGDriveKepubify</td>
</tr> </tr>
@ -5387,7 +5442,7 @@ AssertionError: [] is not true</pre>
<tr> <tr>
<th>comicapi</th> <th>comicapi</th>
<td>2.2.1</td> <td>3.0.0</td>
<td>TestEditAdditionalBooks</td> <td>TestEditAdditionalBooks</td>
</tr> </tr>
@ -5399,7 +5454,7 @@ AssertionError: [] is not true</pre>
<tr> <tr>
<th>google-api-python-client</th> <th>google-api-python-client</th>
<td>2.87.0</td> <td>2.89.0</td>
<td>TestEditAuthorsGdrive</td> <td>TestEditAuthorsGdrive</td>
</tr> </tr>
@ -5435,7 +5490,7 @@ AssertionError: [] is not true</pre>
<tr> <tr>
<th>google-api-python-client</th> <th>google-api-python-client</th>
<td>2.87.0</td> <td>2.89.0</td>
<td>TestEditBooksOnGdrive</td> <td>TestEditBooksOnGdrive</td>
</tr> </tr>
@ -5477,7 +5532,7 @@ AssertionError: [] is not true</pre>
<tr> <tr>
<th>google-api-python-client</th> <th>google-api-python-client</th>
<td>2.87.0</td> <td>2.89.0</td>
<td>TestSetupGdrive</td> <td>TestSetupGdrive</td>
</tr> </tr>
@ -5513,7 +5568,7 @@ AssertionError: [] is not true</pre>
<tr> <tr>
<th>python-Levenshtein</th> <th>python-Levenshtein</th>
<td>0.21.0</td> <td>0.21.1</td>
<td>TestGoodreads</td> <td>TestGoodreads</td>
</tr> </tr>
@ -5567,7 +5622,7 @@ AssertionError: [] is not true</pre>
</div> </div>
<script> <script>
drawCircle(447, 1, 0, 7); drawCircle(447, 1, 1, 8);
showCase(5); showCase(5);
</script> </script>