Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 108 for parameterized (0.09 sec)

  1. tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py

    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.header_params.tutorial003_an_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"X-Token values": None}),
            ("/items", {"x-token": "foo"}, 200, {"X-Token values": ["foo"]}),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial004_py310.py

    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.dependencies.tutorial004_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            (
                "/items",
                200,
                {
                    "items": [
                        {"item_name": "Foo"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py

    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.dependencies.tutorial004_an_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            (
                "/items",
                200,
                {
                    "items": [
                        {"item_name": "Foo"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(hoge.isPublic(), is(true));
            assertThat(hoge.isStatic(), is(true));
            assertThat(hoge.isFinal(), is(true));
            assertThat(hoge.isParameterized(), is(not(true)));
            final ParameterizedClassDesc parameterizedClassDesc = hoge.getParameterizedClassDesc();
            assertThat(parameterizedClassDesc, is(notNullValue()));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dependencies/test_tutorial004.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.dependencies.tutorial004 import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            (
                "/items",
                200,
                {
                    "items": [
                        {"item_name": "Foo"},
                        {"item_name": "Bar"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial004_an.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.dependencies.tutorial004_an import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            (
                "/items",
                200,
                {
                    "items": [
                        {"item_name": "Foo"},
                        {"item_name": "Bar"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py

    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.dependencies.tutorial004_an_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            (
                "/items",
                200,
                {
                    "items": [
                        {"item_name": "Foo"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

     * @param <G> The type of the generator to be passed to testers in the generated test suite. An
     *     instance of G should somehow provide an instance of the class under test, plus any other
     *     information required to parameterize the test.
     * @see FeatureSpecificTestSuiteBuilder
     * @author George van den Driessche
     */
    @GwtIncompatible
    public abstract class PerCollectionSizeTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dependencies/test_tutorial001_an.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.dependencies.tutorial001_an import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/items", 200, {"q": None, "skip": 0, "limit": 100}),
            ("/items?q=foo", 200, {"q": "foo", "skip": 0, "limit": 100}),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. tests/test_dependency_class.py

    async def get_asynchronous_method_gen_dependency(
        value: str = Depends(methods_dependency.asynchronous_gen),
    ):
        return value
    
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "route,value",
        [
            ("/callable-dependency", "callable-dependency"),
            ("/callable-gen-dependency", "callable-gen-dependency"),
            ("/async-callable-dependency", "async-callable-dependency"),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 10:54:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
Back to top