diff --git a/requirements.txt b/requirements.txt index 7b03ffe40..81320aa3a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ werkzeug<2.1.0 Babel>=1.3,<3.0 Flask-Babel>=0.11.1,<2.1.0 -Flask-Login>=0.3.2,<0.5.1 +Flask-Login>=0.3.2,<0.6.1 Flask-Principal>=0.3.2,<0.5.1 backports_abc>=0.4 Flask>=1.0.2,<2.1.0 diff --git a/setup.cfg b/setup.cfg index e9c236047..251d9db03 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,7 +41,7 @@ install_requires = werkzeug<2.1.0 Babel>=1.3,<3.0 Flask-Babel>=0.11.1,<2.1.0 - Flask-Login>=0.3.2,<0.5.1 + Flask-Login>=0.3.2,<0.6.1 Flask-Principal>=0.3.2,<0.5.1 backports_abc>=0.4 Flask>=1.0.2,<2.1.0 diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index d384225fa..1c874a620 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2022-04-18 20:29:19
+Start Time: 2022-04-19 20:47:12
Stop Time: 2022-04-19 07:55:03
+Stop Time: 2022-04-20 02:31:36
Duration: 10h 36 min
+Duration: 4h 53 min
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 405, in test_guest_change_visibility_category - self.assertEqual(books[0]['title'], 'Gênot') -AssertionError: 'None' != 'Gênot' -- None -+ Gênot-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 259, in test_guest_change_visibility_language - self.assertEqual(books[1]['id'], 'eng') -AssertionError: 'none' != 'eng' -- none -+ eng-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 322, in test_guest_change_visibility_publisher - self.assertEqual(books[0]['title'], 'Randomhäus') -AssertionError: 'None' != 'Randomhäus' -- None -+ Randomhäus-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 364, in test_guest_change_visibility_rating - self.assertEqual(books[1]['id'], '2') -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 39, in tearDown - self.check_element_on_page((By.ID, "top_user")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 289, in test_guest_change_visibility_series - self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 39, in tearDown - self.check_element_on_page((By.ID, "top_user")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 54, in test_guest_random_books_available - self.assertTrue(self.check_element_on_page((By.ID, "books_rand"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 39, in tearDown - self.check_element_on_page((By.ID, "top_user")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 384, in test_guest_restricted_settings_visibility - self.assertIsNone(rights['show_512']) -TypeError: 'bool' object is not subscriptable-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 39, in tearDown - self.check_element_on_page((By.ID, "top_user")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 135, in test_guest_visibility_sidebar - self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 39, in tearDown - self.check_element_on_page((By.ID, "top_user")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last):
- File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 26, in tearDownClass
- cls.stop_calibre_web()
- File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 446, in stop_calibre_web
- cls.driver.find_element(By.ID, 'admin_stop').click()
- File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1248, in find_element
- return self.execute(Command.FIND_ELEMENT, {
- File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 425, in execute
- self.error_handler.check_response(response)
- File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
- raise exception_class(message, screen, stacktrace)
-selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"]
-Stacktrace:
-WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5
-NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.jsm:395:5
-element.find/</<@chrome://remote/content/marionette/element.js:300:16
- Traceback (most recent call last):
- File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 316, in test_bind_to_single_interface
- self.assertTrue(re.findall('Reached error page:\sabout:neterror\?e=connectionFailure', error))
-AssertionError: [] is not true
- Traceback (most recent call last):
- File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 446, in test_change_password
- self.login("admin", "adm:in12")
-selenium.common.exceptions.TimeoutException: Message:
-Stacktrace:
-WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5
-NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.jsm:395:5
-element.find/</<@chrome://remote/content/marionette/element.js:300:16
-
-
-During handling of the above exception, another exception occurred:
-
-Traceback (most recent call last):
- File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 453, in test_change_password
- self.assertFalse(e)
-AssertionError: TimeoutException('', None, ['WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5', 'NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.jsm:395:5', 'element.find/</<@chrome://remote/content/marionette/element.js:300:16', '']) is not false
- Traceback (most recent call last):
- File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 280, in test_cli_SSL_files
- self.driver.get("https://127.0.0.1:8083")
-selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=netTimeout&u=https%3A//127.0.0.1%3A8083/&c=UTF-8&d=The%20server%20at%20127.0.0.1%20is%20taking%20too%20long%20to%20respond.
-Stacktrace:
-WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5
-UnknownError@chrome://remote/content/shared/webdriver/Errors.jsm:510:5
-checkReadyState@chrome://remote/content/marionette/navigate.js:64:24
-onNavigation@chrome://remote/content/marionette/navigate.js:312:39
-emit@resource://gre/modules/EventEmitter.jsm:160:20
-receiveMessage@chrome://remote/content/marionette/actors/MarionetteEventsParent.jsm:44:25
-
-
-During handling of the above exception, another exception occurred:
-
-Traceback (most recent call last):
- File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 282, in test_cli_SSL_files
- self.assertIsNone("Error", "HTTPS Connection could not established with key/cert file")
-AssertionError: 'Error' is not None : HTTPS Connection could not established with key/cert file
- Traceback (most recent call last):
- File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 125, in test_cli_different_settings_database
- self.fill_db_config({'config_calibre_dir': TEST_DB})
- File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 223, in fill_db_config
- cls.login('admin', 'admin123')
- File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 87, in login
- WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "username")))
- File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 89, in until
- raise TimeoutException(message, screen, stacktrace)
-selenium.common.exceptions.TimeoutException: Message:
-Stacktrace:
-WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5
-NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.jsm:395:5
-element.find/</<@chrome://remote/content/marionette/element.js:300:16
- Traceback (most recent call last):
- File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 408, in test_settingsdb_not_writeable
- self.fill_db_config({'config_calibre_dir': TEST_DB})
-selenium.common.exceptions.TimeoutException: Message:
-Stacktrace:
-WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5
-NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.jsm:395:5
-element.find/</<@chrome://remote/content/marionette/element.js:300:16
-
-
-During handling of the above exception, another exception occurred:
-
-Traceback (most recent call last):
- File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 413, in test_settingsdb_not_writeable
- self.assertFalse(True, "Inital config failed with nonwriteable database")
-AssertionError: True is not false : Inital config failed with nonwriteable database
- Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_delete_database.py", line 70, in test_delete_books_in_database - self.assertEqual(0, len(list_element)) -AssertionError: 0 != 1-