Falcon v3.0.0-b1 DocumentationDocumentation, Release 3.0.0b1 $ 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 instead! First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we 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__0 码力 | 338 页 | 1.14 MB | 1 年前3
Falcon v3.0.0-b2 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 instead! First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we 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__0 码力 | 340 页 | 1.15 MB | 1 年前3
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 instead! First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we 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__0 码力 | 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 instead! First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we 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__0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b1 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 Our 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 Our 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 码力 | 1028 页 | 725.86 KB | 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 instead! First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we 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__0 码力 | 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 instead! First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we 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__0 码力 | 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 instead! First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we 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__0 码力 | 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 instead! First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we 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__0 码力 | 362 页 | 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 instead! First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we 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__0 码力 | 378 页 | 1.29 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













