Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_login (0.04 sec)

  1. tests/test_tutorial/test_security/test_tutorial003.py

        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.security.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_login(client: TestClient):
        response = client.post("/token", data={"username": "johndoe", "password": "secret"})
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            Plugin testPlugin = null;
    
            for (Plugin plugin : plugins) {
                String pluginArtifactId = plugin.getArtifactId();
    
                assertTrue(validPluginCounts.containsKey(pluginArtifactId), "Illegal plugin found: " + pluginArtifactId);
    
                if (pluginArtifactId.equals(testPluginArtifactId)) {
                    testPlugin = plugin;
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top