- Sort Score
- Result 10 results
- Languages All
Results 1511 - 1520 of 1,935 for App (0.01 sec)
-
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_multiple_params.{request.param}") client = TestClient(mod.app) return client def test_post_body_q_bar_content(client: TestClient): response = client.put("/items/5?q=bar", json={"name": "Foo", "price": 50.5}) assert response.status_code == 200
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 6.3K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial001_tutorial001_02.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.dependencies.{request.param}") client = TestClient(mod.app) return client @pytest.mark.parametrize( "path,expected_status,expected_response", [ ("/items", 200, {"q": None, "skip": 0, "limit": 100}),
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 7K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py
return request.param @pytest.fixture(name="client") def get_client(mod_name: str) -> TestClient: mod = importlib.import_module(f"docs_src.path_operation_configuration.{mod_name}") return TestClient(mod.app) def test_post_items(client: TestClient): response = client.post( "/items/", json={ "name": "Foo", "description": "Item description", "price": 42.0,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
import org.apache.logging.log4j.Logger; import org.codelibs.core.io.ResourceUtil; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.app.web.base.login.ActionResponseCredential; import org.codelibs.fess.app.web.base.login.FessLoginAssist.LoginCredentialResolver; import org.codelibs.fess.app.web.base.login.SpnegoCredential; import org.codelibs.fess.exception.SsoLoginException; import org.codelibs.fess.mylasta.action.FessUserBean;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.8K bytes - Viewed (3) -
src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/SearchForm.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.admin.crawlinginfo; /** * The search form for Crawling Info. */ public class SearchForm { /** * Default constructor for SearchForm. */ public SearchForm() { }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 952 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/SearchForm.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.admin.accesstoken; /** * The search form for Access Token. */ public class SearchForm { /** * Default constructor for SearchForm. */ public SearchForm() { } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 929 bytes - Viewed (0) -
docs/zh/docs/advanced/async-tests.md
## 示例 举个简单的例子,让我们来看一个[更大的应用](../tutorial/bigger-applications.md){.internal-link target=_blank}和[测试](../tutorial/testing.md){.internal-link target=_blank}中描述的类似文件结构: ``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` 文件 `main.py` 将包含: {* ../../docs_src/async_tests/main.py *} 文件 `test_main.py` 将包含针对 `main.py` 的测试,现在它可能看起来如下:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 17 21:49:06 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.exception; import org.codelibs.fess.app.web.RootAction; /** * Exception thrown when user role authentication fails during login attempts. * This exception is used to indicate that a user does not have the required role * to access a specific action or resource.
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Wed Nov 19 08:04:23 UTC 2025 - 2K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial005.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.dependencies.{request.param}") client = TestClient(mod.app) return client @pytest.mark.parametrize( "path,cookie,expected_status,expected_response", [ ( "/items", "from_cookie", 200,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.5K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial002.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.response_model.{request.param}") client = TestClient(mod.app) return client def test_post_user(client: TestClient): user_data = { "username": "foo", "password": "fighter", "email": "******@****.***", "full_name": "Grave Dohl",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.4K bytes - Viewed (0)