- Sort Score
- Result 10 results
- Languages All
Results 1131 - 1140 of 1,844 for test2 (0.04 sec)
-
tests/test_inherited_custom_class.py
a_uuid: MyUuid @field_serializer("a_uuid") def serialize_a_uuid(self, v): return str(v) @app.get("/get_custom_class") def return_some_user(): # Test that the fix also works for custom pydantic classes return SomeCustomClass(a_uuid=MyUuid("b8799909-f914-42de-91bc-95c819218d01")) client = TestClient(app) with client:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:13:50 UTC 2024 - 3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.binarycompatibility import org.junit.Test class KotlinModifiersChangeTest : AbstractBinaryCompatibilityTest() { @Test fun `operator or infix modifier change is breaking`() { checkNotBinaryCompatibleKotlin( v1 = """ fun Int.invoke(some: Int) {}
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.6K bytes - Viewed (0) -
ci/README.md
******************************************************************************** The CI folder contains the configuration files and scripts used to build, test, and deploy TensorFlow. This folder is typically used by continuous integration (CI) tools to build and test TensorFlow whenever there is a change to the code. This folder is broken into subfolders that represent the level of support
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Jun 06 21:00:01 UTC 2023 - 825 bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
@Override protected Executor executor() { transitionStates.add(state()); return directExecutor(); } } // Functional tests using real thread. We only verify publicly visible state. // Interaction assertions are done by the single-threaded unit tests. private static class DefaultService extends AbstractIdleService { @Override protected void startUp() throws Exception {} @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.5K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py
def test_post_file(tmp_path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") client = TestClient(app) with path.open("rb") as file: response = client.post("/files/", files={"file": file}) assert response.status_code == 200, response.text assert response.json() == {"file_size": 14} def test_post_upload_file(tmp_path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.2K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
repository.put('org.gradle.jvm.test.JUnitTestSuiteSpec', new TestDomainObject('org.gradle.jvm.test.JUnitTestSuiteSpec')) when: repository.get('org.gradle.jvm.JUnitTestSuiteSpec') then: UnknownDomainObjectException e = thrown() e.message == 'No meta-data is available for class \'org.gradle.jvm.JUnitTestSuiteSpec\'. Did you mean? [org.gradle.jvm.test.JUnitTestSuiteSpec]' }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 3.8K bytes - Viewed (0) -
misc/go.mod
// Module misc contains binaries that pertain to specific platforms // (Android, iOS, and WebAssembly), as well as some miscellaneous // tests and tools. module misc
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jul 18 21:24:24 UTC 2023 - 175 bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java
import org.junit.jupiter.api.Test; import org.mockito.ArgumentCaptor; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; class DefaultArtifactDescriptorReaderTest extends AbstractRepositoryTestCase { @Test void testMng5459() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java
})// ; lhaExtractor = container.getComponent("lhaExtractor"); } public void test_getText() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/lha/test.lzh"); final String content = lhaExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("ใในใ"));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
import java.util.NoSuchElementException; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link PeekingIterator}. * * @author Mick Killianey */ @SuppressWarnings("serial") // No serialization is used in this test @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class PeekingIteratorTest extends TestCase { /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.6K bytes - Viewed (0)