Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 232 for p2_test (0.05 sec)

  1. tests/test_tutorial/test_body/test_tutorial001_py310.py

    from unittest.mock import patch
    
    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture
    def client():
        from docs_src.body.tutorial001_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_body_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 50.5})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial005_an_py310.py

    import pytest
    from dirty_equals import IsDict, IsOneOf
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.security.tutorial005_an_py310 import app
    
        client = TestClient(app)
        return client
    
    
    def get_access_token(
        *, username="johndoe", password="secret", scope=None, client: TestClient
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. docs/tr/docs/project-generation.md

    * **Alembic** migration.
    * **CORS** (Cross Origin Resource Sharing).
    * **Celery** worker'ları ile backend içerisinden seçilen işleri çalıştırabilirsiniz.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. .gitignore

    /kubernetes/
    
    # direnv .envrc files
    .envrc
    
    # Downloaded kubernetes binary release tar ball
    kubernetes.tar.gz
    
    # Phony test files used as part of coverage generation
    zz_generated_*_test.go
    
    # Just in time generated data in the source, should never be committed
    /test/e2e/generated/bindata.go
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Feb 29 08:22:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_bigger_applications/test_main_an.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.bigger_applications.app_an.main import app
    
        client = TestClient(app)
        return client
    
    
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. docs/en/data/external_links.yml

    Deploy FastAPI app to Heroku without using Docker - author: Arthur Henrique author_link: https://twitter.com/arthurheinrique link: https://medium.com/@arthur393/another-boilerplate-to-fastapi-azure-pipeline-ci-pytest-3c8d9a4be0bb title: 'Another Boilerplate to FastAPI: Azure Pipeline CI + Pytest' - author: Shane Soh author_link: https://medium.com/@shane.soh link: https://medium.com/analytics-vidhya/deploy-machine-learning-models-with-keras-fastapi-redis-and-docker-4940df614ece title: Deploy Machine...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:39:34 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. docs/pt/docs/project-generation.md

    * **CORS** (_Cross Origin Resource Sharing_ - Compartilhamento de Recursos Entre Origens).
    * _Worker_ **Celery** que pode importar e usar modelos e códigos do resto do _backend_ seletivamente.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. docs/fr/docs/project-generation.md

    * **CORS** (partage des ressources entre origines multiples, ou *Cross Origin Resource Sharing*).
    * *Worker* **Celery** pouvant importer et utiliser les modèles et le code du reste du backend.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. tests/test_include_router_defaults_overrides.py

        assert not override3 or "x-level3" in response.headers
    
    
    @pytest.mark.parametrize("override1", [True, False])
    @pytest.mark.parametrize("override2", [True, False])
    @pytest.mark.parametrize("override3", [True, False])
    @pytest.mark.parametrize("override4", [True, False])
    @pytest.mark.parametrize("override5", [True, False])
    def test_paths_level5(override1, override2, override3, override4, override5):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 358.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertFalse(systemHelper.isUserPermission("2test"));
            assertFalse(systemHelper.isUserPermission("Rtest"));
        }
    
        public void test_getSearchRole() {
            assertEquals("1test", systemHelper.getSearchRoleByUser("test"));
            assertEquals("Rtest", systemHelper.getSearchRoleByRole("test"));
            assertEquals("2test", systemHelper.getSearchRoleByGroup("test"));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top