mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-25 01:20:32 +00:00
Updated testresult linux
This commit is contained in:
parent
8ab5710098
commit
d79726899f
@ -36,17 +36,17 @@
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<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>2020-08-23 18:29:00</p>
|
||||
<p class='text-justify attribute'><strong>Start Time: </strong>2020-08-26 20:07:19</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>2020-08-23 19:44:09</p>
|
||||
<p class='text-justify attribute'><strong>Stop Time: </strong>2020-08-26 21:34:00</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>1h 212 min</p>
|
||||
<p class='text-justify attribute'><strong>Duration: </strong>1h 877 min</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -356,7 +356,7 @@
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/matthias/Entwicklung/calibre-web-test/test/test_cover_edit_books.py", line 91, in test_upload_jpg
|
||||
File "/home/matthias/Entwicklung/calibre-web-test/test/test_cover_edit_books.py", line 89, in test_upload_jpg
|
||||
self.assertTrue(self.check_element_on_page((By.ID, 'flash_alert')))
|
||||
AssertionError: False is not true</pre>
|
||||
</div>
|
||||
@ -570,8 +570,8 @@ AssertionError: False is not true</pre>
|
||||
<tr class="result['header']['style']">
|
||||
<td>test_edit_books.TestEditBooks</td>
|
||||
<td class="text-center">33</td>
|
||||
<td class="text-center">29</td>
|
||||
<td class="text-center">2</td>
|
||||
<td class="text-center">30</td>
|
||||
<td class="text-center">1</td>
|
||||
<td class="text-center">0</td>
|
||||
<td class="text-center">2</td>
|
||||
<td class="text-center">
|
||||
@ -894,33 +894,11 @@ AssertionError: False is not true</pre>
|
||||
|
||||
|
||||
|
||||
<tr id='ft7.32' class='none bg-danger'>
|
||||
<tr id='pt7.32' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>test_upload_book_pdf</div>
|
||||
</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft7.32')">FAIL</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id='div_ft7.32' 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_ft7.32').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/matthias/Entwicklung/calibre-web-test/test/test_edit_books.py", line 751, in test_upload_book_pdf
|
||||
self.assertEqual('23390', resp.headers['Content-Length'])
|
||||
AssertionError: '23390' != '23427'
|
||||
- 23390
|
||||
+ 23427</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -942,7 +920,7 @@ AssertionError: '23390' != '23427'
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">Traceback (most recent call last):
|
||||
File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_books.py", line 732, in test_upload_cover_hdd
|
||||
File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_books.py", line 734, in test_upload_cover_hdd
|
||||
self.assertTrue(False, "Browser-Cache Problem: Old Cover is displayed instead of New Cover")
|
||||
AssertionError: False is not true : Browser-Cache Problem: Old Cover is displayed instead of New Cover</pre>
|
||||
</div>
|
||||
@ -958,10 +936,10 @@ AssertionError: False is not true : Browser-Cache Problem: Old Cover is displaye
|
||||
<tr class="result['header']['style']">
|
||||
<td>test_edit_books_gdrive.test_edit_books_gdrive</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">0</td>
|
||||
<td class="text-center">
|
||||
<a onclick="showClassDetail('c8', 1)">Detail</a>
|
||||
</td>
|
||||
@ -969,39 +947,11 @@ AssertionError: False is not true : Browser-Cache Problem: Old Cover is displaye
|
||||
|
||||
|
||||
|
||||
<tr id='et8.1' class='none bg-info'>
|
||||
<tr id='pt8.1' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>test_config_gdrive</div>
|
||||
</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et8.1')">ERROR</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id='div_et8.1' 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_et8.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/matthias/Entwicklung/calibre-web-test/test/test_edit_books_gdrive.py", line 139, in test_config_gdrive
|
||||
auth_button.click()
|
||||
File "/home/matthias/Entwicklung/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
|
||||
self._execute(Command.CLICK_ELEMENT)
|
||||
File "/home/matthias/Entwicklung/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
|
||||
return self._parent.execute(command, params)
|
||||
File "/home/matthias/Entwicklung/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
|
||||
self.error_handler.check_response(response)
|
||||
File "/home/matthias/Entwicklung/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
|
||||
raise exception_class(message, screen, stacktrace)
|
||||
selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=connectionFailure&u=http%3A//127.0.0.1%3A8083/gdrive/authenticate&c=UTF-8&d=Firefox%20kann%20keine%20Verbindung%20zu%20dem%20Server%20unter%20127.0.0.1%3A8083%20aufbauen.</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -1302,67 +1252,87 @@ selenium.common.exceptions.WebDriverException: Message: Reached error page: abou
|
||||
|
||||
|
||||
<tr class="result['header']['style']">
|
||||
<td>unittest.loader._FailedTest</td>
|
||||
<td class="text-center">1</td>
|
||||
<td>test_kobo_sync.TestKoboSync</td>
|
||||
<td class="text-center">8</td>
|
||||
<td class="text-center">8</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('c13', 1)">Detail</a>
|
||||
<a onclick="showClassDetail('c13', 8)">Detail</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id='et13.1' class='none bg-info'>
|
||||
<tr id='pt13.1' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>unittestloader_FailedTest)</div>
|
||||
<div class='testcase'>test_kobo_about</div>
|
||||
</td>
|
||||
<td colspan='6'>
|
||||
<div class="text-center">
|
||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et13.1')">ERROR</a>
|
||||
</div>
|
||||
<!--css div popup start-->
|
||||
<div id='div_et13.1' 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_et13.1').style.display='none'"><span
|
||||
aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="text-left pull-left">
|
||||
<pre class="text-left">ImportError: Failed to import test module: test_kobo_sync
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
|
||||
module = self._get_module_from_name(name)
|
||||
File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
|
||||
__import__(name)
|
||||
File "/home/matthias/Entwicklung/calibre-web-test/test/test_kobo_sync.py", line 228
|
||||
session.close()'''
|
||||
|
||||
|
||||
def test_sync_unchanged(self):
|
||||
self.inital_sync()
|
||||
|
||||
# append synctoken to headers and start over again
|
||||
newSession = requests.session()
|
||||
r = newSession.get(self.kobo_adress+'/v1/initialization', headers=TestKoboSync.header)
|
||||
self.assertEqual(r.status_code, 200)
|
||||
params = {'Filter': 'All', 'DownloadUrlFilter': 'Generic,Android', 'PrioritizeRecentReads':'true'}
|
||||
r = newSession.get(self.kobo_adress+'/v1/library/sync', params=params, headers=TestKoboSync.syncToken)
|
||||
self.assertEqual(r.status_code, 200)
|
||||
self.assertEqual(r.json(), [])
|
||||
newSession.close()
|
||||
TestKoboSync.syncToken = {'x-kobo-synctoken': r.headers['x-kobo-synctoken']}
|
||||
|
||||
'''def test_sync_upload(self):
|
||||
^
|
||||
SyntaxError: invalid syntax</pre>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!--css div popup end-->
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id='pt13.2' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>test_shelves_add_remove_books</div>
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id='pt13.3' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>test_sync_changed_book</div>
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id='pt13.4' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>test_sync_invalid</div>
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id='pt13.5' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>test_sync_reading_state</div>
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id='pt13.6' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>test_sync_shelf</div>
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id='pt13.7' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>test_sync_unchanged</div>
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr id='pt13.8' class='hiddenRow bg-success'>
|
||||
<td>
|
||||
<div class='testcase'>test_sync_upload</div>
|
||||
</td>
|
||||
<td colspan='6' align='center'>PASS</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -2686,10 +2656,10 @@ SyntaxError: invalid syntax</pre>
|
||||
|
||||
<tr id='total_row' class="text-center bg-grey">
|
||||
<td>Total</td>
|
||||
<td>223</td>
|
||||
<td>212</td>
|
||||
<td>3</td>
|
||||
<td>230</td>
|
||||
<td>222</td>
|
||||
<td>2</td>
|
||||
<td>0</td>
|
||||
<td>6</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
@ -2880,7 +2850,7 @@ SyntaxError: invalid syntax</pre>
|
||||
|
||||
<tr>
|
||||
<th>google-api-python-client</th>
|
||||
<td>1.10.0</td>
|
||||
<td>1.10.1</td>
|
||||
<td>test_edit_books_gdrive</td>
|
||||
</tr>
|
||||
|
||||
@ -2914,6 +2884,12 @@ SyntaxError: invalid syntax</pre>
|
||||
<td>TestGoodreads</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>jsonschema</th>
|
||||
<td>3.2.0</td>
|
||||
<td>TestKoboSync</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Flask-SimpleLDAP</th>
|
||||
<td>1.4.0</td>
|
||||
@ -2952,7 +2928,7 @@ SyntaxError: invalid syntax</pre>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
drawCircle(212, 3, 2, 6);
|
||||
drawCircle(222, 2, 0, 6);
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user