Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 627 for cover (0.02 seconds)

  1. tests/test_tutorial/test_settings/test_app01.py

    
    def test_settings_validation_error(mod_name: str, monkeypatch: MonkeyPatch):
        monkeypatch.delenv("ADMIN_EMAIL", raising=False)
        if mod_name in sys.modules:
            del sys.modules[mod_name]  # pragma: no cover
    
        with pytest.raises(ValidationError) as exc_info:
            importlib.import_module(mod_name)
        assert exc_info.value.errors() == [
            {
                "loc": ("admin_email",),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

            assertNotNull(DosError.DOS_ERROR_MESSAGES, "DOS_ERROR_MESSAGES should be non‑null");
            assertTrue(DosError.DOS_ERROR_MESSAGES.length >= DosError.DOS_ERROR_CODES.length, "DOS_ERROR_MESSAGES should cover all codes");
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. tests/test_params_repr.py

    from typing import Any
    
    from fastapi.params import Body, Cookie, Header, Param, Path, Query
    
    test_data: list[Any] = ["teststr", None, ..., 1, []]
    
    
    def get_user():
        return {}  # pragma: no cover
    
    
    def test_param_repr_str():
        assert repr(Param("teststr")) == "Param(teststr)"
    
    
    def test_param_repr_none():
        assert repr(Param(None)) == "Param(None)"
    
    
    def test_param_repr_ellipsis():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. build-logic/jvm/src/main/kotlin/gradlebuild.start-scripts.gradle.kts

        launcherJar.from(tasks.jar)
        agentJars.from(resolveAgentsClasspath)
        // The trick below is to use the templates from the current code instead of the wrapper. It does not cover the case where the generation logic is updated though.
        unixScriptTemplate.from(layout.projectDirectory.file("../../../platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt"))
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 02 12:28:02 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. tests/test_custom_middleware_exception.py

            received = 0
    
            async def inner():
                nonlocal received
                message = await receive()
                if message["type"] != "http.request":
                    return message  # pragma: no cover
    
                body_len = len(message.get("body", b""))
                received += body_len
                if received > self.max_content_size:
                    raise HTTPException(
                        422,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 25 21:44:40 GMT 2022
    - 2.8K bytes
    - Click Count (0)
  6. tests/test_dependency_wrapped.py

    from fastapi.concurrency import iterate_in_threadpool, run_in_threadpool
    from fastapi.testclient import TestClient
    
    if sys.version_info >= (3, 13):  # pragma: no cover
        from inspect import iscoroutinefunction
    else:  # pragma: no cover
        from asyncio import iscoroutinefunction
    
    
    def noop_wrap(func):
        @wraps(func)
        def wrapper(*args, **kwargs):
            return func(*args, **kwargs)
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Transporter provider is a service that provides somewhat trivial transport capabilities backed by Maven internals.
     * This API does not try to cover all the requirements out there, just the basic ones, and is intentionally simple.
     * If plugin or extension needs anything more complex feature wise (i.e. HTTP range support or alike) it should
     * probably roll its own.
     * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

    public final class RequestTraceHelper {
    
        /**
         * Method that creates some informational string based on passed in {@link RequestTrace}. The contents of request
         * trace can literally be anything, but this class tries to cover "most common" cases that are happening in Maven.
         */
        public static String interpretTrace(boolean detailed, RequestTrace requestTrace) {
            while (requestTrace != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/testdata/386.s

    // This input was created by taking the instruction productions in
    // the old assembler's (8a's) grammar and hand-writing complete
    // instructions for each rule, to guarantee we cover the same space.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT foo(SB), DUPOK|NOSPLIT, $0
    
    // LTYPE1 nonrem	{ outcode(int($1), &$2); }
    	SETCC	AX
    	SETCC	foo+4(SB)
    
    // LTYPE2 rimnon	{ outcode(int($1), &$2); }
    	DIVB	AX
    	DIVB	foo+4(SB)
    	PUSHL	$foo+4(SB)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Apr 09 18:57:21 GMT 2019
    - 2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/util/Base64Test.java

    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for {@link Base64}.
     *
     * These tests cover the public static encode/decode methods for different
     * payload sizes, padding rules, and error conditions such as null and empty
     * input.
     */
    @ExtendWith(MockitoExtension.class)
    class Base64Test {
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top