Falcon v3.0.0 Documentationrepo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip: See also the tox.ini file for a full list create a tests directory with __init__.py and a test module (test_app.py) inside it. The project’s structure should now look like this: look .venv look __init__.py app.py images.py tests __init__ __init__.py test_app.py Falcon supports testing its App object by simulating HTTP requests. Tests can either be written using Python’s standard unittest module, or with any of a number of third-party testing0 码力 | 344 页 | 1.16 MB | 1 年前3
 Falcon v3.0.1 Documentationrepo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip: See also the tox.ini file for a full list create a tests directory with __init__.py and a test module (test_app.py) inside it. The project’s structure should now look like this: look .venv look __init__.py app.py images.py tests __init__ __init__.py test_app.py Falcon supports testing its App object by simulating HTTP requests. Tests can either be written using Python’s standard unittest module, or with any of a number of third-party testing0 码力 | 344 页 | 1.16 MB | 1 年前3
 Falcon v3.1.1-b3 Documentationrepo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip: See also the tox.ini file for a full list create a tests directory with __init__.py and a test module (test_app.py) inside it. The project’s structure should now look like this: look .venv look __init__.py app.py images.py tests __init__ __init__.py test_app.py Falcon supports testing its App object by simulating HTTP requests. Tests can either be written using Python’s standard unittest module, or with any of a number of third-party testing0 码力 | 378 页 | 1.29 MB | 1 年前3
 Falcon v3.1.1-b1 Documentationrepo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip: See also the tox.ini file for a full list create a tests directory with __init__.py and a test module (test_app.py) inside it. The project’s structure should now look like this: look .venv look __init__.py app.py images.py tests __init__ __init__.py test_app.py Falcon supports testing its App object by simulating HTTP requests. Tests can either be written using Python’s standard unittest module, or with any of a number of third-party testing0 码力 | 378 页 | 1.29 MB | 1 年前3
 Falcon v3.1.1-a Documentationrepo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip: See also the tox.ini file for a full list create a tests directory with __init__.py and a test module (test_app.py) inside it. The project’s structure should now look like this: look .venv look __init__.py app.py images.py tests __init__ __init__.py test_app.py Falcon supports testing its App object by simulating HTTP requests. Tests can either be written using Python’s standard unittest module, or with any of a number of third-party testing0 码力 | 378 页 | 1.29 MB | 1 年前3
 Falcon v3.1.1 Documentationrepo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip: See also the tox.ini file for a full list create a tests directory with __init__.py and a test module (test_app.py) inside it. The project’s structure should now look like this: look .venv look __init__.py app.py images.py tests __init__ __init__.py test_app.py Falcon supports testing its App object by simulating HTTP requests. Tests can either be written using Python’s standard unittest module, or with any of a number of third-party testing0 码力 | 378 页 | 1.29 MB | 1 年前3
 Falcon v3.1.1-rc1 Documentationrepo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip: See also the tox.ini file for a full list create a tests directory with __init__.py and a test module (test_app.py) inside it. The project’s structure should now look like this: look .venv look __init__.py app.py images.py tests __init__ __init__.py test_app.py Falcon supports testing its App object by simulating HTTP requests. Tests can either be written using Python’s standard unittest module, or with any of a number of third-party testing0 码力 | 378 页 | 1.29 MB | 1 年前3
 Falcon v3.1.0 Documentationrepo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip: See also the tox.ini file for a full list create a tests directory with __init__.py and a test module (test_app.py) inside it. The project’s structure should now look like this: look .venv look __init__.py app.py images.py tests __init__ __init__.py test_app.py Falcon supports testing its App object by simulating HTTP requests. Tests can either be written using Python’s standard unittest module, or with any of a number of third-party testing0 码力 | 362 页 | 1.29 MB | 1 年前3
 Falcon v3.1.1 DocumentationResources Testing your application Request and Response Objects Refactoring for testability Functional tests Serving Images Introducing Hooks Error Handling What Now? Tutorial (ASGI) First Steps Hosting Resources Testing your application Request and Response Objects Refactoring for testability Functional tests Serving Images Introducing Hooks Error Handling What Now? Tutorial (ASGI) First Steps Hosting repo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip See also the tox.ini [https://github.c0 码力 | 540 页 | 476.60 KB | 1 年前3
 Falcon v3.1.1-rc1 DocumentationResources Testing your application Request and Response Objects Refactoring for testability Functional tests Serving Images Introducing Hooks Error Handling What Now? Tutorial (ASGI) First Steps Hosting Resources Testing your application Request and Response Objects Refactoring for testability Functional tests Serving Images Introducing Hooks Error Handling What Now? Tutorial (ASGI) First Steps Hosting repo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip See also the tox.ini [https://github.c0 码力 | 540 页 | 476.61 KB | 1 年前3
共 77 条
- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 - 8
 













