Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for raises (0.47 seconds)

  1. tests/test_response_model_as_return_annotation.py

    
    def test_response_model_no_annotation_return_invalid_dict():
        with pytest.raises(ResponseValidationError) as excinfo:
            client.get("/response_model-no_annotation-return_invalid_dict")
        assert "missing" in str(excinfo.value)
    
    
    def test_response_model_no_annotation_return_invalid_model():
        with pytest.raises(ResponseValidationError) as excinfo:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 50.3K bytes
    - Click Count (0)
  2. tests/query_test.go

    	DB.Create(&user)
    
    	var result User
    	if DB.Where("").Where("").First(&result).Error != nil {
    		t.Errorf("Should not raise any error if searching with empty strings")
    	}
    
    	result = User{}
    	if DB.Where(&User{}).Where("name = ?", user.Name).First(&result).Error != nil {
    		t.Errorf("Should not raise any error if searching with empty struct")
    	}
    
    	result = User{}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

             * <p>
             * This method works in conjunction with the filtering in executePlan():
             * - For FAIL_FAST: Sets ReactorBuildStatus to halted, which causes executePlan to only process after:* steps
             * - For FAIL_AT_END: Blacklists the project and its dependents, which causes executePlan to skip them
             * - For FAIL_NEVER: Does nothing special, allowing all projects to continue building
             * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

                httpClientPropertyMap.put(name, value);
            }
        }
    
        /**
         * Processes robots.txt for the given URL.
         * This method fetches and parses the robots.txt file to extract disallow/allow rules
         * and sitemap information.
         *
         * @param url The URL to process robots.txt for
         */
        protected void processRobotsTxt(final String url) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

                httpClientPropertyMap.put(name, value);
            }
        }
    
        /**
         * Processes robots.txt for the given URL.
         * This method fetches and parses the robots.txt file to extract disallow/allow rules
         * and sitemap information.
         *
         * @param url The URL to process robots.txt for
         */
        protected void processRobotsTxt(final String url) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                        budgetChars);
            }
        }
    
        // --- JSON parsing utilities ---
    
        /**
         * Parses the LLM response and extracts intent detection result.
         *
         * @param response the JSON response from LLM
         * @param userMessage the original user message
         * @return the parsed intent detection result
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(a, b);
      }
    
      @SuppressWarnings("TestExceptionChecker") // see comment below
      public <T> void testVariableTypeTokenNotAllowed() {
        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(a, b);
      }
    
      @SuppressWarnings("TestExceptionChecker") // see comment below
      public <T> void testVariableTypeTokenNotAllowed() {
        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            }
            if (buf == null) {
                return null;
            }
            return buf.toString().trim();
        }
    
        /**
         * Recursively parses text content from a node and its children.
         *
         * @param node the node to parse
         * @param buf the StringBuilder to append content to
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            assertEquals("original query", result);
        }
    
        @Test
        public void test_regenerateQuery_exception_returnsFailedQuery() {
            client.setChatResponse(null); // causes LlmException
    
            final String result = client.regenerateQuery("test question", "original query", "no_results", Collections.emptyList());
    
            assertEquals("original query", result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
Back to Top