Package Details: python-flask-testing 0.8.1-1

Git Clone URL: https://aur.archlinux.org/python-flask-testing.git (read-only, click to copy)
Package Base: python-flask-testing
Description: Flask unittest integration
Upstream URL: https://github.com/jarus/flask-testing
Licenses: BSD
Submitter: xantares
Maintainer: None
Last Packager: lmartinez-mirror
Votes: 0
Popularity: 0.000000
First Submitted: 2016-12-06 18:47 (UTC)
Last Updated: 2021-09-26 03:14 (UTC)

Latest Comments

scippio commented on 2023-01-06 22:58 (UTC) (edited on 2023-01-06 22:58 (UTC) by scippio)

No working:

...
test_get_json (tests.test_utils.TestClientUtils) ... ok
test_status_failure_message (tests.test_utils.TestClientUtils) ... ok
 * Serving Flask app 'tests.flask_app'
 * Debug mode: off
test_server_listening (tests.test_utils.TestLiveServer) ... /usr/lib/python3.10/site-packages/werkzeug/serving.py:718: ResourceWarning: unclosed <socket.socket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)>
  self.socket = socket.fromfd(fd, address_family, socket.SOCK_STREAM)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://127.0.0.1:8943
Press CTRL+C to quit
127.0.0.1 - - [06/Jan/2023 23:57:38] "GET / HTTP/1.1" 200 -
ok
 * Serving Flask app 'tests.flask_app'
 * Debug mode: off
test_server_process_is_spawned (tests.test_utils.TestLiveServer) ... ok
 * Serving Flask app 'tests.flask_app'
 * Debug mode: off
/usr/lib/python3.10/site-packages/werkzeug/serving.py:718: ResourceWarning: unclosed <socket.socket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)>
  self.socket = socket.fromfd(fd, address_family, socket.SOCK_STREAM)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://127.0.0.1:37057
Press CTRL+C to quit
Traceback (most recent call last):
  File "/home/scippio/.cache/yay/python-flask-testing/src/flask-testing-0.8.1/setup.py", line 32, in <module>
    setup(
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1208, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 224, in run
    self.run_tests()
  File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 227, in run_tests
    test = unittest.main(
  File "/usr/lib/python3.10/unittest/main.py", line 101, in __init__
    self.runTests()
  File "/usr/lib/python3.10/unittest/main.py", line 271, in runTests
    self.result = testRunner.run(self.test)
  File "/usr/lib/python3.10/unittest/runner.py", line 184, in run
    test(result)
  File "/usr/lib/python3.10/unittest/suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.10/unittest/suite.py", line 122, in run
    test(result)
  File "/usr/lib/python3.10/unittest/suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.10/unittest/suite.py", line 122, in run
    test(result)
  File "/usr/lib/python3.10/unittest/suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.10/unittest/suite.py", line 122, in run
    test(result)
  File "/home/scippio/.cache/yay/python-flask-testing/src/flask-testing-0.8.1/flask_testing/utils.py", line 451, in __call__
    self._spawn_live_server()
  File "/home/scippio/.cache/yay/python-flask-testing/src/flask-testing-0.8.1/flask_testing/utils.py", line 501, in _spawn_live_server
    raise RuntimeError(
RuntimeError: Failed to start the server after 5 seconds. 
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: python-flask-testing