Falcon v3.1.1-b3 Documentationsimple storage_path fixture that we’ll share among all tests in the suite (in the pytest parlance, a “session”-scoped fixture). Tip: The pytest website includes in-depth documentation on the use of fixtures StopIteration: return uuid.uuid4() fixtures_it = iter(fixtures) return uuid_func @pytest.fixture(scope='session') def storage_path(tmpdir_factory): return tmpdir_factory.mktemp('asgilook') @pytest.fixture def predictable_uuid app = create_app(config) return falcon.testing.TestClient(app) @pytest.fixture(scope='session') def png_image(): image = PIL.Image.new('RGBA', (640, 360), color='black') (continues on next page)0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 Documentationsimple storage_path fixture that we’ll share among all tests in the suite (in the pytest parlance, a “session”-scoped fixture). Tip: The pytest website includes in-depth documentation on the use of fixtures StopIteration: return uuid.uuid4() fixtures_it = iter(fixtures) return uuid_func @pytest.fixture(scope='session') def storage_path(tmpdir_factory): return tmpdir_factory.mktemp('asgilook') @pytest.fixture def predictable_uuid app = create_app(config) return falcon.testing.TestClient(app) @pytest.fixture(scope='session') def png_image(): image = PIL.Image.new('RGBA', (640, 360), color='black') (continues on next page)0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-a Documentationsimple storage_path fixture that we’ll share among all tests in the suite (in the pytest parlance, a “session”-scoped fixture). Tip: The pytest website includes in-depth documentation on the use of fixtures StopIteration: return uuid.uuid4() fixtures_it = iter(fixtures) return uuid_func @pytest.fixture(scope='session') def storage_path(tmpdir_factory): return tmpdir_factory.mktemp('asgilook') @pytest.fixture def predictable_uuid app = create_app(config) return falcon.testing.TestClient(app) @pytest.fixture(scope='session') def png_image(): image = PIL.Image.new('RGBA', (640, 360), color='black') (continues on next page)0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1 Documentationsimple storage_path fixture that we’ll share among all tests in the suite (in the pytest parlance, a “session”-scoped fixture). Tip: The pytest website includes in-depth documentation on the use of fixtures StopIteration: return uuid.uuid4() fixtures_it = iter(fixtures) return uuid_func @pytest.fixture(scope='session') def storage_path(tmpdir_factory): return tmpdir_factory.mktemp('asgilook') @pytest.fixture def predictable_uuid app = create_app(config) return falcon.testing.TestClient(app) @pytest.fixture(scope='session') def png_image(): image = PIL.Image.new('RGBA', (640, 360), color='black') (continues on next page)0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-rc1 Documentationsimple storage_path fixture that we’ll share among all tests in the suite (in the pytest parlance, a “session”-scoped fixture). Tip: The pytest website includes in-depth documentation on the use of fixtures StopIteration: return uuid.uuid4() fixtures_it = iter(fixtures) return uuid_func @pytest.fixture(scope='session') def storage_path(tmpdir_factory): return tmpdir_factory.mktemp('asgilook') @pytest.fixture def predictable_uuid app = create_app(config) return falcon.testing.TestClient(app) @pytest.fixture(scope='session') def png_image(): image = PIL.Image.new('RGBA', (640, 360), color='black') (continues on next page)0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1 Documentationsimple storage_path fixture that we’ll share among all tests in the suite (in the pytest parlance, a “session”-scoped fixture). Tip The pytest website includes in-depth documentation on the use of fixtures return uuid.uuid4() fixtures_it = iter(fixtures) return uuid_func @pytest.fixture(scope='session') def storage_path(tmpdir_factory): return tmpdir_factory.mktemp('asgilook') @pytest.fixture predictable_uuid app = create_app(config) return falcon.testing.TestClient(app) @pytest.fixture(scope='session') def png_image(): image = PIL.Image.new('RGBA', (640, 360), color='black') draw = PIL.ImageDraw0 码力 | 540 页 | 476.60 KB | 1 年前3
Falcon v3.1.1-rc1 Documentationsimple storage_path fixture that we’ll share among all tests in the suite (in the pytest parlance, a “session”-scoped fixture). Tip The pytest website includes in-depth documentation on the use of fixtures return uuid.uuid4() fixtures_it = iter(fixtures) return uuid_func @pytest.fixture(scope='session') def storage_path(tmpdir_factory): return tmpdir_factory.mktemp('asgilook') @pytest.fixture predictable_uuid app = create_app(config) return falcon.testing.TestClient(app) @pytest.fixture(scope='session') def png_image(): image = PIL.Image.new('RGBA', (640, 360), color='black') draw = PIL.ImageDraw0 码力 | 540 页 | 476.61 KB | 1 年前3
Falcon v3.1.1-b3 Documentationsimple storage_path fixture that we’ll share among all tests in the suite (in the pytest parlance, a “session”-scoped fixture). Tip The pytest website includes in-depth documentation on the use of fixtures return uuid.uuid4() fixtures_it = iter(fixtures) return uuid_func @pytest.fixture(scope='session') def storage_path(tmpdir_factory): return tmpdir_factory.mktemp('asgilook') @pytest.fixture predictable_uuid app = create_app(config) return falcon.testing.TestClient(app) @pytest.fixture(scope='session') def png_image(): image = PIL.Image.new('RGBA', (640, 360), color='black') draw = PIL.ImageDraw0 码力 | 540 页 | 476.61 KB | 1 年前3
Falcon v3.1.1-a Documentationsimple storage_path fixture that we’ll share among all tests in the suite (in the pytest parlance, a “session”-scoped fixture). Tip The pytest website includes in-depth documentation on the use of fixtures return uuid.uuid4() fixtures_it = iter(fixtures) return uuid_func @pytest.fixture(scope='session') def storage_path(tmpdir_factory): return tmpdir_factory.mktemp('asgilook') @pytest.fixture predictable_uuid app = create_app(config) return falcon.testing.TestClient(app) @pytest.fixture(scope='session') def png_image(): image = PIL.Image.new('RGBA', (640, 360), color='black') draw = PIL.ImageDraw0 码力 | 540 页 | 476.60 KB | 1 年前3
Falcon v3.1.1-b1 Documentationsimple storage_path fixture that we’ll share among all tests in the suite (in the pytest parlance, a “session”-scoped fixture). Tip The pytest website includes in-depth documentation on the use of fixtures return uuid.uuid4() fixtures_it = iter(fixtures) return uuid_func @pytest.fixture(scope='session') def storage_path(tmpdir_factory): return tmpdir_factory.mktemp('asgilook') @pytest.fixture predictable_uuid app = create_app(config) return falcon.testing.TestClient(app) @pytest.fixture(scope='session') def png_image(): image = PIL.Image.new('RGBA', (640, 360), color='black') draw = PIL.ImageDraw0 码力 | 540 页 | 476.61 KB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













