Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fileContents (0.06 sec)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt

        }
    
        private fun generateForFile(file: FileTreeElement) {
            val fileContent = file.file.readText()
            val relativePath = file.relativePath.toString()
            require(!fileContent.contains("'''")) {
                "The class with class='autoTested' can't contains triple quotes: $relativePath"
            }
            if (!sampleStart.matcher(fileContent).find()) {
                return
            }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. tests/test_file_and_form_order_issue_9116.py

        files: Annotated[list[bytes], File()],
        city: Annotated[str, Form()],
    ):
        return {"file_contents": files, "city": city}
    
    
    @app.post("/file_list_after_form")
    def file_list_after_form(
        city: Annotated[str, Form()],
        files: Annotated[list[bytes], File()],
    ):
        return {"file_contents": files, "city": city}
    
    
    client = TestClient(app)
    
    
    @pytest.fixture
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top