Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,863 for testu (0.04 sec)

  1. docs/ru/docs/tutorial/testing.md

    Например, так: `pip install httpx`.
    
    ///
    
    Импортируйте `TestClient`.
    
    Создайте объект `TestClient`, передав ему в качестве параметра Ваше приложение **FastAPI**.
    
    Создайте функцию, название которой должно начинаться с `test_` (это стандарт из соглашений `pytest`).
    
    Используйте объект `TestClient` так же, как Вы используете `httpx`.
    
    Напишите простое утверждение с `assert` дабы проверить истинность Python-выражения (это тоже стандарт `pytest`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       <i>compile</i> against Android. Now, this might be an artifact of our build system, one
     *       that we could probably work around. Or we could manually strip the test from open-source
     *       Guava while continuing to run it internally, as we do with many other tests. This would
     *       suffice because we our Android users and tests are using the open-source version, which
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 07 15:40:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. docs/fr/docs/deployment/versions.md

    Après avoir effectué des tests, vous pouvez mettre à jour la version **FastAPI** vers une version plus récente, et vous assurer que tout votre code fonctionne correctement en exécutant vos tests.
    
    Si tout fonctionne, ou après avoir fait les changements nécessaires, et que tous vos tests passent, vous pouvez
    épingler votre version de `fastapi` à cette nouvelle version récente.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users_test.go

    	}
    }
    
    // List of all IAM test suites (i.e. test server configuration combinations)
    // common to tests.
    var iamTestSuites = func() []*TestSuiteIAM {
    	baseTestCases := []TestSuiteCommon{
    		// Init and run test on ErasureSD backend with signature v4.
    		{serverType: "ErasureSD", signer: signerV4},
    		// Init and run test on ErasureSD backend, with tls enabled.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  5. cmd/batch-job-common-types_test.go

    			sizeFilter: BatchJobSizeFilter{
    				LowerBound: 1 << 20,
    			},
    			want: true,
    		},
    	}
    
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) {
    			if got := test.sizeFilter.InRange(test.objSize); got != test.want {
    				t.Fatalf("Expected %v but got %v", test.want, got)
    			}
    		})
    	}
    }
    
    func TestBatchJobSizeValidate(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 08 23:22:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    @Tag("Slow")
    class RealWebSocketTest {
      // NOTE: Fields are named 'client' and 'server' for cognitive simplicity. This differentiation has
      // zero effect on the behavior of the WebSocket API which is why tests are only written once
      // from the perspective of a single peer.
      private val random = Random(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/IntMathTest.java

        for (int p : NONZERO_INTEGER_CANDIDATES) {
          for (int q : NONZERO_INTEGER_CANDIDATES) {
            for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
              // Skip some tests that fail due to GWT's non-compliant int implementation.
              // TODO(cpovirk): does this test fail for only some rounding modes or for all?
              if (p == -2147483648 && q == -1 && intsCanGoOutOfRange()) {
                continue;
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

    import java.util.HashSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code BiMap}
     * implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class BiMapTestSuiteBuilder<K, V>
        extends PerCollectionSizeTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Collection;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link Multimap#get(Object)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapGetTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

          return super.toString();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /*
       * This is somewhat of a weak test; we verify that all of the methods are
       * correct, but not that they're actually forwarding correctly. We also rely
       * on the other tests (e.g., SynchronizedSetTest) to verify that the
       * collection views are synchronized correctly.
       */
    
      public void testSize() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top