diff --git a/test/Calibre-Web TestSummary_Windows.html b/test/Calibre-Web TestSummary_Windows.html index 3b020272..ec788994 100644 --- a/test/Calibre-Web TestSummary_Windows.html +++ b/test/Calibre-Web TestSummary_Windows.html @@ -36,17 +36,17 @@
Start Time: 2020-08-26 20:05:39
+Start Time: 2020-08-27 21:16:40
Stop Time: 2020-08-26 21:23:04
+Stop Time: 2020-08-27 22:23:41
Duration: 1h 314 min
+Duration: 55:29 min
Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_anonymous.py", line 177, in test_guest_visibility_sidebar - self.assertIsNotNone(list_element) -TypeError: 'FirefoxWebElement' object is not subscriptable-
Traceback (most recent call last): File "C:\Entwicklung\calibre-web-test\test\test_cover_edit_books.py", line 77, in test_upload_jpg - self.assertEqual('17420', resp.headers['Content-Length']) -AssertionError: '17420' != '17403' -- 17420 -? - -+ 17403 -? ++ self.assertAlmostEqual('17420', resp.headers['Content-Length'], delta=300) + File "C:\python38\lib\unittest\case.py", line 943, in assertAlmostEqual + diff = abs(first - second) +TypeError: unsupported operand type(s) for -: 'str' and 'str'
Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_edit_additional_books.py", line 62, in test_upload_metadate_cbr - self.assertEqual('Test 执book', details['title']) -AssertionError: 'Test 执book' != 'book' -- Test 执book -+ book+
ImportError: Failed to import test module: test_edit_additional_books +Traceback (most recent call last): + File "C:\python38\lib\unittest\loader.py", line 436, in _find_test_path + module = self._get_module_from_name(name) + File "C:\python38\lib\unittest\loader.py", line 377, in _get_module_from_name + __import__(name) + File "C:\Entwicklung\calibre-web-test\test\test_edit_additional_books.py", line 19, in+ class TestEditAdditionalBooks(TestCase, ui_class): + File "C:\Entwicklung\calibre-web-test\test\test_edit_additional_books.py", line 154, in TestEditAdditionalBooks + @skipif(os.name == 'nt', 'writeonly database on windows is not checked') +NameError: name 'skipif' is not defined
Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_edit_additional_books.py", line 173, in test_writeonly_path - self.assertTrue(self.check_element_on_page((By.ID, "flash_alert"))) -AssertionError: False is not true+
ImportError: Failed to import test module: test_ldap +Traceback (most recent call last): + File "C:\python38\lib\unittest\loader.py", line 436, in _find_test_path + module = self._get_module_from_name(name) + File "C:\python38\lib\unittest\loader.py", line 377, in _get_module_from_name + __import__(name) + File "C:\Entwicklung\calibre-web-test\test\test_ldap.py", line 11, in+ from helper_ldap import TestLDAPServer + File "C:\Entwicklung\calibre-web-test\test\helper_ldap.py", line 10, in + from ldaptor.inmemory import fromLDIFFile +ModuleNotFoundError: No module named 'ldaptor'
Traceback (most recent call last): + File "C:\Entwicklung\calibre-web-test\test\test_edit_books.py", line 896, in test_upload_book_cbr + self.assertEqual('book', details['title']) +AssertionError: 'book' != 'Test 执book' +- book ++ Test 执book+
Traceback (most recent call last): + File "C:\Entwicklung\calibre-web-test\test\test_edit_books.py", line 874, in test_upload_book_cbt + self.assertEqual('book', details['title']) +AssertionError: 'book' != 'Test 执 to' +- book ++ Test 执 to+
Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_edit_books.py", line 830, in test_upload_book_epub - self.check_element_on_page((By.ID, 'edit_cancel')).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): File "C:\Entwicklung\calibre-web-test\test\test_edit_books.py", line 723, in test_upload_cover_hdd - self.assertEqual('20317', resp.headers['Content-Length']) -AssertionError: '20317' != '20130' -- 20317 -+ 20130+ self.assertAlmostEqual('20317', resp.headers['Content-Length'], delta=300) + File "C:\python38\lib\unittest\case.py", line 943, in assertAlmostEqual + diff = abs(first - second) +TypeError: unsupported operand type(s) for -: 'str' and 'str'
Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_email_STARTTLS.py", line 59, in test_STARTTLS - task_len = len(self.check_tasks()) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_email_STARTTLS.py", line 80, in test_STARTTLS_SSL_setup_error - task_len = len(self.check_tasks()) -TypeError: object of type 'bool' has no len()+
Skipping Goodread Test, no config file found
Traceback (most recent call last): - File "C:\python38\lib\site-packages\urllib3\connection.py", line 156, in _new_conn - conn = connection.create_connection( - File "C:\python38\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection - raise err - File "C:\python38\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection - sock.connect(sa) -ConnectionRefusedError: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte - -During handling of the above exception, another exception occurred: - -Traceback (most recent call last): - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 665, in urlopen - httplib_response = self._make_request( - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 387, in _make_request - conn.request(method, url, **httplib_request_kw) - File "C:\python38\lib\http\client.py", line 1240, in request - self._send_request(method, url, body, headers, encode_chunked) - File "C:\python38\lib\http\client.py", line 1286, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "C:\python38\lib\http\client.py", line 1235, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "C:\python38\lib\http\client.py", line 1006, in _send_output - self.send(msg) - File "C:\python38\lib\http\client.py", line 946, in send - self.connect() - File "C:\python38\lib\site-packages\urllib3\connection.py", line 184, in connect - conn = self._new_conn() - File "C:\python38\lib\site-packages\urllib3\connection.py", line 168, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte - -During handling of the above exception, another exception occurred: - -Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_email_STARTTLS.py", line 100, in test_STARTTLS_resend_password - self.create_user('paswd_resend', {'password': '123', 'email': 'a@b.com', 'edit_role': 1}) - File "C:\Entwicklung\calibre-web-test\test\helper_ui.py", line 856, in create_user - return cls.change_user(config) - File "C:\Entwicklung\calibre-web-test\test\helper_ui.py", line 895, in change_user - ele = cls.driver.find_element_by_id(checkbox) - File "C:\python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 360, in find_element_by_id - return self.find_element(by=By.ID, value=id_) - File "C:\python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 976, in find_element - return self.execute(Command.FIND_ELEMENT, { - File "C:\python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 319, in execute - response = self.command_executor.execute(driver_command, params) - File "C:\python38\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 374, in execute - return self._request(command_info[0], url, body=data) - File "C:\python38\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 397, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "C:\python38\lib\site-packages\urllib3\request.py", line 79, in request - return self.request_encode_body( - File "C:\python38\lib\site-packages\urllib3\request.py", line 171, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "C:\python38\lib\site-packages\urllib3\poolmanager.py", line 330, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 747, in urlopen - return self.urlopen( - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 747, in urlopen - return self.urlopen( - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 747, in urlopen - return self.urlopen( - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 719, in urlopen - retries = retries.increment( - File "C:\python38\lib\site-packages\urllib3\util\retry.py", line 436, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=62268): Max retries exceeded with url: /session/7c8a9979-87a1-4689-b4d4-ffb1b45e3f56/element (Caused by NewConnectionError(' : Failed to establish a new connection: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte'))
Skipping Goodread Test, no config file found+
Skipping Goodread Test, no config file found
Traceback (most recent call last): - File "C:\python38\lib\site-packages\urllib3\connection.py", line 156, in _new_conn - conn = connection.create_connection( - File "C:\python38\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection - raise err - File "C:\python38\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection - sock.connect(sa) -ConnectionRefusedError: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte - -During handling of the above exception, another exception occurred: - -Traceback (most recent call last): - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 665, in urlopen - httplib_response = self._make_request( - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 387, in _make_request - conn.request(method, url, **httplib_request_kw) - File "C:\python38\lib\http\client.py", line 1240, in request - self._send_request(method, url, body, headers, encode_chunked) - File "C:\python38\lib\http\client.py", line 1286, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "C:\python38\lib\http\client.py", line 1235, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "C:\python38\lib\http\client.py", line 1006, in _send_output - self.send(msg) - File "C:\python38\lib\http\client.py", line 946, in send - self.connect() - File "C:\python38\lib\site-packages\urllib3\connection.py", line 184, in connect - conn = self._new_conn() - File "C:\python38\lib\site-packages\urllib3\connection.py", line 168, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError:+ File "C:\Entwicklung\calibre-web-test\test\test_logging.py", line 155, in test_access_log_recover + self.assertFalse(os.path.isfile(os.path.join(CALIBRE_WEB_PATH, 'hö lo', 'lü g'))) +AssertionError: True is not false: Failed to establish a new connection: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte - -During handling of the above exception, another exception occurred: - -Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_email_STARTTLS.py", line 49, in tearDownClass - cls.stop_calibre_web() - File "C:\Entwicklung\calibre-web-test\test\helper_ui.py", line 385, in stop_calibre_web - cls.driver.find_element_by_id('admin_stop').click() - File "C:\python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 360, in find_element_by_id - return self.find_element(by=By.ID, value=id_) - File "C:\python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 976, in find_element - return self.execute(Command.FIND_ELEMENT, { - File "C:\python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 319, in execute - response = self.command_executor.execute(driver_command, params) - File "C:\python38\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 374, in execute - return self._request(command_info[0], url, body=data) - File "C:\python38\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 397, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "C:\python38\lib\site-packages\urllib3\request.py", line 79, in request - return self.request_encode_body( - File "C:\python38\lib\site-packages\urllib3\request.py", line 171, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "C:\python38\lib\site-packages\urllib3\poolmanager.py", line 330, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 747, in urlopen - return self.urlopen( - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 747, in urlopen - return self.urlopen( - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 747, in urlopen - return self.urlopen( - File "C:\python38\lib\site-packages\urllib3\connectionpool.py", line 719, in urlopen - retries = retries.increment( - File "C:\python38\lib\site-packages\urllib3\util\retry.py", line 436, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=62268): Max retries exceeded with url: /session/7c8a9979-87a1-4689-b4d4-ffb1b45e3f56/element (Caused by NewConnectionError(' : Failed to establish a new connection: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte'))
Not Implemented+
Traceback (most recent call last): + File "C:\Entwicklung\calibre-web-test\test\test_logging.py", line 120, in test_logfile_recover + os.makedirs(os.path.join(CALIBRE_WEB_PATH, 'hü lo')) + File "C:\python38\lib\os.py", line 223, in makedirs + mkdir(name, mode) +FileExistsError: [WinError 183] Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist: 'C:\\Entwicklung\\calibre-web\\hü lo'+
Change Database Not Implemented+
Takes too long+
Skipping Goodread Test, no config file found-
Skipping Goodread Test, no config file found-
Skipping Goodread Test, no config file found-
ImportError: Failed to import test module: test_ldap -Traceback (most recent call last): - File "C:\python38\lib\unittest\loader.py", line 436, in _find_test_path - module = self._get_module_from_name(name) - File "C:\python38\lib\unittest\loader.py", line 377, in _get_module_from_name - __import__(name) - File "C:\Entwicklung\calibre-web-test\test\test_ldap.py", line 11, in-- from helper_ldap import TestLDAPServer - File "C:\Entwicklung\calibre-web-test\test\helper_ldap.py", line 10, in - from ldaptor.inmemory import fromLDIFFile -ModuleNotFoundError: No module named 'ldaptor'
Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_logging.py", line 155, in test_access_log_recover - self.assertFalse(os.path.isfile(os.path.join(CALIBRE_WEB_PATH, 'hö lo', 'lü g'))) -AssertionError: True is not false-
Not Implemented-
Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_logging.py", line 120, in test_logfile_recover - os.makedirs(os.path.join(CALIBRE_WEB_PATH, 'hü lo')) - File "C:\python38\lib\os.py", line 223, in makedirs - mkdir(name, mode) -FileExistsError: [WinError 183] Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist: 'C:\\Entwicklung\\calibre-web\\hü lo'-
Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_login.py", line 372, in test_robots - self.assertEqual('This is a robÄtsfile', r.text) -AssertionError: 'This is a robÄtsfile' != 'This is a rob�tsfile' -- This is a robÄtsfile -? ^ -+ This is a rob�tsfile -? ^-
Traceback (most recent call last): - File "C:\Entwicklung\calibre-web-test\test\test_register.py", line 200, in test_forgot_password - self.assertTrue(self.check_user_logged_in('forget', noCompare=True)) -AssertionError: False is not true-
Change Database Not Implemented-
Takes too long-