mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-30 23:03:02 +00:00 
			
		
		
		
	Test update
This commit is contained in:
		
							
								
								
									
										10
									
								
								setup.cfg
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								setup.cfg
									
									
									
									
									
								
							| @@ -46,19 +46,19 @@ install_requires = | ||||
| 	Flask-Principal>=0.3.2,<0.5.1 | ||||
| 	Flask>=1.0.2,<3.1.0 | ||||
| 	iso-639>=0.4.5,<0.5.0 | ||||
| 	PyPDF>=3.15.6,<4.1.0 | ||||
| 	PyPDF>=3.15.6,<4.3.0 | ||||
| 	pytz>=2016.10 | ||||
| 	requests>=2.28.0,<2.32.0 | ||||
| 	SQLAlchemy>=1.3.0,<2.1.0 | ||||
| 	tornado>=6.3,<6.5 | ||||
| 	Wand>=0.4.4,<0.7.0 | ||||
| 	unidecode>=0.04.19,<1.4.0 | ||||
| 	lxml>=4.9.1,<5.2.0 | ||||
| 	lxml>=4.9.1,<5.3.0 | ||||
| 	flask-wtf>=0.14.2,<1.3.0 | ||||
| 	chardet>=3.0.0,<4.1.0 | ||||
| 	advocate>=1.0.0,<1.1.0 | ||||
| 	Flask-Limiter>=2.3.0,<3.6.0 | ||||
| 	regex>=2022.3.2,<2024.2.25 | ||||
| 	regex>=2022.3.2,<2024.6.25 | ||||
| 	bleach>=6.0.0,<6.2.0 | ||||
| 	python-magic>=0.4.27,<0.5.0 | ||||
| 	 | ||||
| @@ -69,7 +69,7 @@ include = cps/services* | ||||
|  | ||||
| [options.extras_require] | ||||
| gdrive =  | ||||
| 	google-api-python-client>=1.7.11,<2.120.0 | ||||
| 	google-api-python-client>=1.7.11,<2.200.0 | ||||
| 	gevent>20.6.0,<24.3.0 | ||||
| 	greenlet>=0.4.17,<3.1.0 | ||||
| 	httplib2>=0.9.2,<0.23.0 | ||||
| @@ -82,7 +82,7 @@ gdrive = | ||||
| 	rsa>=3.4.2,<4.10.0 | ||||
| gmail =  | ||||
| 	google-auth-oauthlib>=0.4.3,<1.3.0 | ||||
| 	google-api-python-client>=1.7.11,<2.120.0 | ||||
| 	google-api-python-client>=1.7.11,<2.200.0 | ||||
| goodreads =  | ||||
| 	goodreads>=0.3.2,<0.4.0 | ||||
| 	python-Levenshtein>=0.12.0,<0.26.0 | ||||
|   | ||||
| @@ -37,20 +37,20 @@ | ||||
|       <div class="row"> | ||||
|         <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>2024-07-01 20:28:34</p> | ||||
|             <p class='text-justify attribute'><strong>Start Time: </strong>2024-07-02 20:54:09</p> | ||||
|              | ||||
|         </div> | ||||
|       </div> | ||||
|       <div class="row"> | ||||
|         <div class="col-xs-6 col-md-6 col-sm-offset-3"> | ||||
|              | ||||
|             <p class='text-justify attribute'><strong>Stop Time: </strong>2024-07-02 03:50:44</p> | ||||
|             <p class='text-justify attribute'><strong>Stop Time: </strong>2024-07-03 04:18:18</p> | ||||
|              | ||||
|         </div> | ||||
|       </div> | ||||
|       <div class="row"> | ||||
|         <div class="col-xs-6 col-md-6 col-sm-offset-3"> | ||||
|            <p class='text-justify attribute'><strong>Duration: </strong>6h 9 min</p> | ||||
|            <p class='text-justify attribute'><strong>Duration: </strong>6h 10 min</p> | ||||
|         </div> | ||||
|       </div> | ||||
|       </div> | ||||
| @@ -234,11 +234,11 @@ | ||||
|      | ||||
|  | ||||
|  | ||||
|     <tr id="su" class="passClass"> | ||||
|     <tr id="su" class="failClass"> | ||||
|         <td>TestBackupMetadata</td> | ||||
|         <td class="text-center">21</td> | ||||
|         <td class="text-center">21</td> | ||||
|         <td class="text-center">0</td> | ||||
|         <td class="text-center">20</td> | ||||
|         <td class="text-center">1</td> | ||||
|         <td class="text-center">0</td> | ||||
|         <td class="text-center">0</td> | ||||
|         <td class="text-center"> | ||||
| @@ -248,11 +248,31 @@ | ||||
|  | ||||
|      | ||||
|      | ||||
|         <tr id='pt2.1' class='hiddenRow bg-success'> | ||||
|         <tr id="ft2.1" class="none bg-danger"> | ||||
|             <td> | ||||
|                 <div class='testcase'>TestBackupMetadata - test_backup_all</div> | ||||
|             </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_ft2.1')">FAIL</a> | ||||
|                 </div> | ||||
|                 <!--css div popup start--> | ||||
|                 <div id="div_ft2.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_ft2.1').style.display='none'"><span | ||||
|                                 aria-hidden="true">×</span></button> | ||||
|                     </div> | ||||
|                     <div class="text-left pull-left"> | ||||
|                         <pre class="text-left">Traceback (most recent call last): | ||||
|   File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 54, in test_backup_all | ||||
|     self.assertEqual(1, len(res)) | ||||
| AssertionError: 1 != 0</pre> | ||||
|                     </div> | ||||
|                     <div class="clearfix"></div> | ||||
|                 </div> | ||||
|                 <!--css div popup end--> | ||||
|             </td> | ||||
|         </tr> | ||||
|      | ||||
|      | ||||
| @@ -854,23 +874,43 @@ | ||||
|  | ||||
|     <tr id="su" class="errorClass"> | ||||
|         <td>TestEbookConvertCalibreGDrive</td> | ||||
|         <td class="text-center">6</td> | ||||
|         <td class="text-center">7</td> | ||||
|         <td class="text-center">5</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"> | ||||
|             <a onclick="showClassDetail('c9', 6)">Detail</a> | ||||
|             <a onclick="showClassDetail('c9', 7)">Detail</a> | ||||
|         </td> | ||||
|     </tr> | ||||
|  | ||||
|      | ||||
|      | ||||
|         <tr id='pt9.1' class='hiddenRow bg-success'> | ||||
|         <tr id="ft9.1" class="none bg-danger"> | ||||
|             <td> | ||||
|                 <div class='testcase'>TestEbookConvertCalibreGDrive - test_convert_email</div> | ||||
|             </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_ft9.1')">FAIL</a> | ||||
|                 </div> | ||||
|                 <!--css div popup start--> | ||||
|                 <div id="div_ft9.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_ft9.1').style.display='none'"><span | ||||
|                                 aria-hidden="true">×</span></button> | ||||
|                     </div> | ||||
|                     <div class="text-left pull-left"> | ||||
|                         <pre class="text-left">Traceback (most recent call last): | ||||
|   File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 206, in test_convert_email | ||||
|     self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) | ||||
| AssertionError: False is not true</pre> | ||||
|                     </div> | ||||
|                     <div class="clearfix"></div> | ||||
|                 </div> | ||||
|                 <!--css div popup end--> | ||||
|             </td> | ||||
|         </tr> | ||||
|      | ||||
|      | ||||
| @@ -941,6 +981,15 @@ selenium.common.exceptions.NoSuchElementException: Message: Could not locate ele | ||||
|         </tr> | ||||
|      | ||||
|      | ||||
|      | ||||
|         <tr id='pt9.7' class='hiddenRow bg-success'> | ||||
|             <td> | ||||
|                 <div class='testcase'>TestEbookConvertCalibreGDrive - test_thumbnail_cache</div> | ||||
|             </td> | ||||
|             <td colspan='6' align='center'>PASS</td> | ||||
|         </tr> | ||||
|      | ||||
|      | ||||
|  | ||||
|  | ||||
|     <tr id="su" class="passClass"> | ||||
| @@ -1981,13 +2030,13 @@ selenium.common.exceptions.NoSuchElementException: Message: Could not locate ele | ||||
|      | ||||
|  | ||||
|  | ||||
|     <tr id="su" class="errorClass"> | ||||
|     <tr id="su" class="failClass"> | ||||
|         <td>TestLoadMetadata</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">0</td> | ||||
|         <td class="text-center">0</td> | ||||
|         <td class="text-center"> | ||||
|             <a onclick="showClassDetail('c17', 1)">Detail</a> | ||||
|         </td> | ||||
| @@ -1995,26 +2044,26 @@ selenium.common.exceptions.NoSuchElementException: Message: Could not locate ele | ||||
|  | ||||
|      | ||||
|      | ||||
|         <tr id="et17.1" class="none bg-info"> | ||||
|         <tr id="ft17.1" class="none bg-danger"> | ||||
|             <td> | ||||
|                 <div class='testcase'>TestLoadMetadata - test_load_metadata</div> | ||||
|             </td> | ||||
|             <td colspan='6'> | ||||
|                 <div class="text-center"> | ||||
|                     <a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et17.1')">ERROR</a> | ||||
|                     <a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft17.1')">FAIL</a> | ||||
|                 </div> | ||||
|                 <!--css div popup start--> | ||||
|                 <div id="div_et17.1" class="popup_window test_output" style="display:block;"> | ||||
|                 <div id="div_ft17.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 | ||||
|                                 onclick="document.getElementById('div_ft17.1').style.display='none'"><span | ||||
|                                 aria-hidden="true">×</span></button> | ||||
|                     </div> | ||||
|                     <div class="text-left pull-left"> | ||||
|                         <pre class="text-left">Traceback (most recent call last): | ||||
|   File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 90, in test_load_metadata | ||||
|     elif 'https://amazon.com/' == results[20]['source']: | ||||
| IndexError: list index out of range</pre> | ||||
|   File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 173, in test_load_metadata | ||||
|     self.assertGreaterEqual(diff(BytesIO(cover), BytesIO(original_cover), delete_diff_file=True), 0.05) | ||||
| AssertionError: 0.0 not greater than or equal to 0.05</pre> | ||||
|                     </div> | ||||
|                     <div class="clearfix"></div> | ||||
|                 </div> | ||||
| @@ -3849,45 +3898,43 @@ AssertionError: False is not true</pre> | ||||
|      | ||||
|  | ||||
|  | ||||
|     <tr id="su" class="errorClass"> | ||||
|         <td>_ErrorHolder</td> | ||||
|         <td class="text-center">1</td> | ||||
|     <tr id="su" class="passClass"> | ||||
|         <td>TestPipInstall</td> | ||||
|         <td class="text-center">3</td> | ||||
|         <td class="text-center">3</td> | ||||
|         <td class="text-center">0</td> | ||||
|         <td class="text-center">0</td> | ||||
|         <td class="text-center">1</td> | ||||
|         <td class="text-center">0</td> | ||||
|         <td class="text-center"> | ||||
|             <a onclick="showClassDetail('c40', 1)">Detail</a> | ||||
|             <a onclick="showClassDetail('c40', 3)">Detail</a> | ||||
|         </td> | ||||
|     </tr> | ||||
|  | ||||
|      | ||||
|      | ||||
|         <tr id="et40.1" class="none bg-info"> | ||||
|         <tr id='pt40.1' class='hiddenRow bg-success'> | ||||
|             <td> | ||||
|                 <div class='testcase'>setUpClass (test_pip_install)</div> | ||||
|                 <div class='testcase'>TestPipInstall - test_command_start</div> | ||||
|             </td> | ||||
|             <td colspan='6'> | ||||
|                 <div class="text-center"> | ||||
|                     <a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et40.1')">ERROR</a> | ||||
|                 </div> | ||||
|                 <!--css div popup start--> | ||||
|                 <div id="div_et40.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_et40.1').style.display='none'"><span | ||||
|                                 aria-hidden="true">×</span></button> | ||||
|                     </div> | ||||
|                     <div class="text-left pull-left"> | ||||
|                         <pre class="text-left">Traceback (most recent call last): | ||||
|   File "/home/ozzie/Development/calibre-web-test/test/test_pip_install.py", line 36, in setUpClass | ||||
|     args = make_release.parse_arguments(['-p']) | ||||
| NameError: name 'make_release' is not defined</pre> | ||||
|                     </div> | ||||
|                     <div class="clearfix"></div> | ||||
|                 </div> | ||||
|                 <!--css div popup end--> | ||||
|             <td colspan='6' align='center'>PASS</td> | ||||
|         </tr> | ||||
|      | ||||
|      | ||||
|      | ||||
|         <tr id='pt40.2' class='hiddenRow bg-success'> | ||||
|             <td> | ||||
|                 <div class='testcase'>TestPipInstall - test_foldername_database_location</div> | ||||
|             </td> | ||||
|             <td colspan='6' align='center'>PASS</td> | ||||
|         </tr> | ||||
|      | ||||
|      | ||||
|      | ||||
|         <tr id='pt40.3' class='hiddenRow bg-success'> | ||||
|             <td> | ||||
|                 <div class='testcase'>TestPipInstall - test_module_start</div> | ||||
|             </td> | ||||
|             <td colspan='6' align='center'>PASS</td> | ||||
|         </tr> | ||||
|      | ||||
|      | ||||
| @@ -4468,11 +4515,11 @@ NameError: name 'make_release' is not defined</pre> | ||||
|      | ||||
|  | ||||
|  | ||||
|     <tr id="su" class="skipClass"> | ||||
|     <tr id="su" class="failClass"> | ||||
|         <td>TestThumbnails</td> | ||||
|         <td class="text-center">8</td> | ||||
|         <td class="text-center">7</td> | ||||
|         <td class="text-center">0</td> | ||||
|         <td class="text-center">6</td> | ||||
|         <td class="text-center">1</td> | ||||
|         <td class="text-center">0</td> | ||||
|         <td class="text-center">1</td> | ||||
|         <td class="text-center"> | ||||
| @@ -4545,11 +4592,31 @@ NameError: name 'make_release' is not defined</pre> | ||||
|      | ||||
|      | ||||
|      | ||||
|         <tr id='pt50.8' class='hiddenRow bg-success'> | ||||
|         <tr id="ft50.8" class="none bg-danger"> | ||||
|             <td> | ||||
|                 <div class='testcase'>TestThumbnails - test_sideloaded_book</div> | ||||
|             </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_ft50.8')">FAIL</a> | ||||
|                 </div> | ||||
|                 <!--css div popup start--> | ||||
|                 <div id="div_ft50.8" 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_ft50.8').style.display='none'"><span | ||||
|                                 aria-hidden="true">×</span></button> | ||||
|                     </div> | ||||
|                     <div class="text-left pull-left"> | ||||
|                         <pre class="text-left">Traceback (most recent call last): | ||||
|   File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 316, in test_sideloaded_book | ||||
|     self.assertAlmostEqual(diff(BytesIO(list_cover), BytesIO(old_list_cover), delete_diff_file=True), 0.0, | ||||
| AssertionError: 0.008301587301587301 != 0.0 within 0.0001 delta (0.008301587301587301 difference)</pre> | ||||
|                     </div> | ||||
|                     <div class="clearfix"></div> | ||||
|                 </div> | ||||
|                 <!--css div popup end--> | ||||
|             </td> | ||||
|         </tr> | ||||
|      | ||||
|      | ||||
| @@ -5632,10 +5699,10 @@ NameError: name 'make_release' is not defined</pre> | ||||
|  | ||||
|     <tr id='total_row' class="text-center bg-grey"> | ||||
|         <td>Total</td> | ||||
|         <td>497</td> | ||||
|         <td>483</td> | ||||
|         <td>500</td> | ||||
|         <td>484</td> | ||||
|         <td>5</td> | ||||
|         <td>1</td> | ||||
|         <td>3</td> | ||||
|         <td>10</td> | ||||
|         <td> </td> | ||||
|     </tr> | ||||
| @@ -5892,7 +5959,7 @@ NameError: name 'make_release' is not defined</pre> | ||||
|            | ||||
|             <tr> | ||||
|               <th>google-api-python-client</th> | ||||
|               <td>2.135.0</td> | ||||
|               <td>2.136.0</td> | ||||
|               <td>TestEbookConvertCalibreGDrive</td> | ||||
|             </tr> | ||||
|            | ||||
| @@ -5922,7 +5989,7 @@ NameError: name 'make_release' is not defined</pre> | ||||
|            | ||||
|             <tr> | ||||
|               <th>google-api-python-client</th> | ||||
|               <td>2.135.0</td> | ||||
|               <td>2.136.0</td> | ||||
|               <td>TestEbookConvertGDriveKepubify</td> | ||||
|             </tr> | ||||
|            | ||||
| @@ -5970,7 +6037,7 @@ NameError: name 'make_release' is not defined</pre> | ||||
|            | ||||
|             <tr> | ||||
|               <th>google-api-python-client</th> | ||||
|               <td>2.135.0</td> | ||||
|               <td>2.136.0</td> | ||||
|               <td>TestEditAuthorsGdrive</td> | ||||
|             </tr> | ||||
|            | ||||
| @@ -6006,7 +6073,7 @@ NameError: name 'make_release' is not defined</pre> | ||||
|            | ||||
|             <tr> | ||||
|               <th>google-api-python-client</th> | ||||
|               <td>2.135.0</td> | ||||
|               <td>2.136.0</td> | ||||
|               <td>TestEditBooksOnGdrive</td> | ||||
|             </tr> | ||||
|            | ||||
| @@ -6048,7 +6115,7 @@ NameError: name 'make_release' is not defined</pre> | ||||
|            | ||||
|             <tr> | ||||
|               <th>google-api-python-client</th> | ||||
|               <td>2.135.0</td> | ||||
|               <td>2.136.0</td> | ||||
|               <td>TestEmbedMetadataGdrive</td> | ||||
|             </tr> | ||||
|            | ||||
| @@ -6078,7 +6145,7 @@ NameError: name 'make_release' is not defined</pre> | ||||
|            | ||||
|             <tr> | ||||
|               <th>google-api-python-client</th> | ||||
|               <td>2.135.0</td> | ||||
|               <td>2.136.0</td> | ||||
|               <td>TestSetupGdrive</td> | ||||
|             </tr> | ||||
|            | ||||
| @@ -6168,7 +6235,7 @@ NameError: name 'make_release' is not defined</pre> | ||||
| </div> | ||||
|  | ||||
| <script> | ||||
|     drawCircle(483, 1, 3, 10); | ||||
|     drawCircle(484, 5, 1, 10); | ||||
|     showCase(5); | ||||
| </script> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ozzie Isaacs
					Ozzie Isaacs