Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,347 for TestIs (1.38 sec)

  1. docs/es/docs/tutorial/security/simple-oauth2.md

    Y tus modelos de base de datos pueden usar cualquier otro nombre que desees.
    
    Pero para la *path operation* de inicio de sesión, necesitamos usar estos nombres para ser compatibles con la especificación (y poder, por ejemplo, utilizar el sistema de documentación integrada de la API).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacCredentialTypeTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link PacCredentialType} class.
     */
    class PacCredentialTypeTest {
    
        /**
         * Tests the constructor with a valid byte array.
         */
        @Test
        void testConstructorWithValidData() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. schema/model_test.go

    package schema_test
    
    import (
    	"database/sql"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/utils/tests"
    )
    
    type User struct {
    	*gorm.Model
    	Name      *string
    	Age       *uint
    	Birthday  *time.Time
    	Account   *tests.Account
    	Pets      []*tests.Pet
    	Toys      []*tests.Toy `gorm:"polymorphic:Owner"`
    	CompanyID *int
    	Company   *tests.Company
    	ManagerID *uint
    	Manager   *User
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/testing.md

    ///
    
    /// tip
    
    If you want to call `async` functions in your tests apart from sending requests to your FastAPI application (e.g. asynchronous database functions), have a look at the [Async Tests](../advanced/async-tests.md){.internal-link target=_blank} in the advanced tutorial.
    
    ///
    
    ## Separating tests { #separating-tests }
    
    In a real application, you probably would have your tests in a different file.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. cmd/streaming-signature-v4_test.go

    		{"00000000000000001", 0, "http chunk length too large"}, // could accept if we wanted
    	}
    	for i := uint64(0); i <= 1234; i++ {
    		tests = append(tests, testCase{in: fmt.Sprintf("%x", i), want: i})
    	}
    	for _, tt := range tests {
    		got, err := parseHexUint([]byte(tt.in))
    		if tt.wantErr != "" {
    			if err != nil && !strings.Contains(err.Error(), tt.wantErr) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests <code>FarthestConflictResolver</code>.
     *
     * @see FarthestConflictResolver
     */
    @Deprecated
    class FarthestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        FarthestConflictResolverTest() throws Exception {
            super("farthest");
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests <code>NearestConflictResolver</code>.
     *
     * @see NearestConflictResolver
     */
    @Deprecated
    class NearestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        NearestConflictResolverTest() throws Exception {
            super("nearest");
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests <code>OldestConflictResolver</code>.
     *
     * @see OldestConflictResolver
     */
    @Deprecated
    class OldestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        OldestConflictResolverTest() throws Exception {
            super("oldest");
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/UniAddressTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    
    class UniAddressTest {
    
        @Nested
        @DisplayName("isDotQuadIP method tests")
        class IsDotQuadIPTests {
    
            @ParameterizedTest(name = "should return true for valid IP address: {0}")
            @ValueSource(strings = { "192.168.1.1", "10.0.0.255", "0.0.0.0", "255.255.255.255" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    En este caso, `fluffy` es una instance de la clase `Cat`.
    
    Y para crear `fluffy`, estás "llamando" a `Cat`.
    
    Entonces, una clase en Python también es un **callable**.
    
    Entonces, en **FastAPI**, podrías usar una clase de Python como una dependencia.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top