Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 792 for march (0.03 seconds)

  1. tests/test_dependency_yield_scope.py

        data = response.json()
        assert data["named_session_open"] is True
        assert data["session_open"] is True
    
    
    def test_broken_scope() -> None:
        with pytest.raises(
            FastAPIError,
            match='The dependency "get_named_func_session" has a scope of "request", it cannot depend on dependencies with scope "function"',
        ):
    
            @app.get("/broken-scope")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

      if (isEmpty()) return null
    
      val position = ParsePosition(0)
      var result = STANDARD_DATE_FORMAT.get().parse(this, position)
      if (position.index == length) {
        // STANDARD_DATE_FORMAT must match exactly; all text must be consumed, e.g. no ignored
        // non-standard trailing "+01:00". Those cases are covered below.
        return result
      }
      synchronized(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. tests/joins_test.go

    		t.Fatalf("Failed, got error: %v", err)
    	}
    
    	if result.ID != user.ID {
    		t.Fatalf("result's id, %d, doesn't match user's id, %d", result.ID, user.ID)
    	}
    	// should find company
    	if result.Company.ID != *user.CompanyID {
    		t.Fatalf("result's id, %d, doesn't match user's company id, %d", result.Company.ID, *user.CompanyID)
    	}
    }
    
    func TestJoinWithSoftDeleted(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 15K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.24.md

    - Reverted graceful node shutdown to match 1.21 behavior of setting pods that have not yet successfully completed to "Failed" phase if the GracefulNodeShutdown feature is enabled in kubelet. The GracefulNodeShutdown feature is beta and must be explicitly configured via kubelet config to be enabled in 1.21+. This changes 1.22 and 1.23 behavior on node shutdown to match 1.21. If you do not want pods to be marked terminated on node shutdown in 1.22 and 1.23,...
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Aug 24 00:02:43 GMT 2023
    - 473.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            // Reset index to read back
            buf.reset();
            NdrShort decoded = new NdrShort(0); // placeholder value
            decoded.decode(buf);
            assertEquals(expected, decoded.value, "decoded value should match original after masking");
        }
    
        /**
         * Verify that encode writes the correct little-endian sequence
         * to the buffer and that alignment is respected.
         */
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java

            assertNotNull(retrievedPlugin, "Plugin should be found");
            assertEquals("3.8.1", retrievedPlugin.getVersion(), "Initial version should match");
    
            // Modify the plugin version
            retrievedPlugin.setVersion("3.11.0");
    
            // Verify the change persists when getting the plugin again
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 04 12:50:13 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. tests/test_security_oauth2.py

        assert response.json() == {
            "detail": [
                {
                    "type": "string_pattern_mismatch",
                    "loc": ["body", "grant_type"],
                    "msg": "String should match pattern '^password$'",
                    "input": grant_type,
                    "ctx": {"pattern": "^password$"},
                }
            ]
        }
    
    
    def test_strict_login_correct_grant_type():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. tests/test_security_oauth2_optional_description.py

        assert response.json() == {
            "detail": [
                {
                    "type": "string_pattern_mismatch",
                    "loc": ["body", "grant_type"],
                    "msg": "String should match pattern '^password$'",
                    "input": grant_type,
                    "ctx": {"pattern": "^password$"},
                }
            ]
        }
    
    
    def test_strict_login_correct_correct_grant_type():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. internal/grid/trace.go

    				OutputBytes:     len(resp),
    				TimeToFirstByte: end.Sub(start),
    			},
    		},
    	}
    	// If the context contains a TraceParamsKey, add it to the trace path.
    	v := ctx.Value(TraceParamsKey{})
    	// Should match SingleHandler.Call checks.
    	switch typed := v.(type) {
    	case *MSS:
    		trace.Path += typed.ToQuery()
    	case map[string]string:
    		m := MSS(typed)
    		trace.Path += m.ToQuery()
    	case *URLValues:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 01 05:17:37 GMT 2024
    - 4.1K bytes
    - Click Count (0)
Back to Top