Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,124 for asset1 (0.19 sec)

  1. docs/em/docs/tutorial/testing.md

    ๐Ÿคถ โ“‚. `pip install httpx`.
    
    ///
    
    ๐Ÿ—„ `TestClient`.
    
    โœ `TestClient` ๐Ÿšถโ€โ™€๏ธ ๐Ÿ‘† **FastAPI** ๐Ÿˆธ โšซ๏ธ.
    
    โœ ๐Ÿ”ข โฎ๏ธ ๐Ÿ“› ๐Ÿ‘ˆ โ–ถ๏ธ โฎ๏ธ `test_` (๐Ÿ‘‰ ๐Ÿฉ `pytest` ๐Ÿ›).
    
    โš™๏ธ `TestClient` ๐ŸŽš ๐ŸŽ ๐ŸŒŒ ๐Ÿ‘† โฎ๏ธ `httpx`.
    
    โœ ๐Ÿ™… `assert` ๐Ÿ“„ โฎ๏ธ ๐Ÿฉ ๐Ÿ ๐Ÿงฌ ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ’ช โœ… (๐Ÿ”„, ๐Ÿฉ `pytest`).
    
    ```Python hl_lines="2  12  15-18"
    {!../../docs_src/app_testing/tutorial001.py!}
    ```
    
    /// tip
    
    ๐Ÿ‘€ ๐Ÿ‘ˆ ๐Ÿ”ฌ ๐Ÿ”ข ๐Ÿ˜ `def`, ๐Ÿšซ `async def`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/testing.md

    ไพ‹๏ผš`pip install httpx`.
    
    ///
    
    ๅฏผๅ…ฅ `TestClient`.
    
    ้€š่ฟ‡ไผ ๅ…ฅไฝ ็š„**FastAPI**ๅบ”็”จๅˆ›ๅปบไธ€ไธช `TestClient` ใ€‚
    
    ๅˆ›ๅปบๅๅญ—ไปฅ `test_` ๅผ€ๅคด็š„ๅ‡ฝๆ•ฐ๏ผˆ่ฟ™ๆ˜ฏๆ ‡ๅ‡†็š„ `pytest` ็บฆๅฎš๏ผ‰ใ€‚
    
    ๅƒไฝฟ็”จ `httpx` ้‚ฃๆ ทไฝฟ็”จ `TestClient` ๅฏน่ฑกใ€‚
    
    ไธบไฝ ้œ€่ฆๆฃ€ๆŸฅ็š„ๅœฐๆ–น็”จๆ ‡ๅ‡†็š„Python่กจ่พพๅผๅ†™ไธช็ฎ€ๅ•็š„ `assert` ่ฏญๅฅ๏ผˆ้‡็”ณ๏ผŒๆ ‡ๅ‡†็š„`pytest`๏ผ‰ใ€‚
    
    ```Python hl_lines="2  12  15-18"
    {!../../docs_src/app_testing/tutorial001.py!}
    ```
    
    /// tip | "ๆ็คบ"
    
    ๆณจๆ„ๆต‹่ฏ•ๅ‡ฝๆ•ฐๆ˜ฏๆ™ฎ้€š็š„ `def`๏ผŒไธๆ˜ฏ `async def`ใ€‚
    
    ่ฟ˜ๆœ‰client็š„่ฐƒ็”จไนŸๆ˜ฏๆ™ฎ้€š็š„่ฐƒ็”จ๏ผŒไธๆ˜ฏ็”จ `await`ใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/PreconditionsTest.java

          assertFailureCause(ite.getCause(), NullPointerException.class, failingParams);
        }
      }
    
      /**
       * Asserts that the given throwable has the given class and then asserts on the message as using
       * the full set of method parameters.
       */
      private void assertFailureCause(
          Throwable throwable, Class<? extends Throwable> clazz, Object[] params) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/MoreFilesTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.nio.file.LinkOption.NOFOLLOW_LINKS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ObjectArrays;
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Feature;
    import com.google.common.jimfs.Jimfs;
    import java.io.IOException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.cc

        ret.push_back(UniqueFuncPtr(func, TF_DeleteFunction));
      }
      return ret;
    }
    
    TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id,
                                     TF_Status* status) {
      assert(session);
      {
        tensorflow::mutex_lock c(session->graph->mu);
        VLOG(1) << "Dequeuing named tensor with id " << tensor_id
                << ", with input graph: "
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.NotTesterAnnotation;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

    package com.google.common.collect;
    
    import static com.google.common.collect.BoundType.OPEN;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.SerializableTester;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. LICENSE

    for enforcing compliance by third parties with this License.
    
      An "entity transaction" is a transaction transferring control of an
    organization, or substantially all assets of one, or subdividing an
    organization, or merging organizations.  If propagation of a covered
    work results from an entity transaction, each party to that
    transaction who receives a copy of the work also receives whatever
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 33.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.cache
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import assertk.fail
    import java.io.File
    import java.io.FileNotFoundException
    import java.io.IOException
    import java.util.ArrayDeque
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import java.lang.reflect.Modifier;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester that runs automated sanity tests for any given class. A typical use case is to test static
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top