Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,462 for raised (0.22 sec)

  1. tests/test_tutorial/test_dependencies/test_tutorial008d_an_py39.py

        with pytest.raises(InternalError) as exc_info:
            client.get("/items/portal-gun")
        assert (
            exc_info.value.args[0] == "The portal gun is too dangerous to be owned by Rick"
        )
    
    
    @needs_py39
    def test_internal_server_error():
        from docs_src.dependencies.tutorial008d_an_py39 import app
    
        client = TestClient(app, raise_server_exceptions=False)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

    Bo Zhang <******@****.***> 1660200971 +0800
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 07:01:27 GMT 2022
    - 2.3K bytes
    - Viewed (1)
  3. schema/constraint_test.go

    			Constraint: "name <> 'jinzhu'",
    		},
    	}
    
    	checks := user.ParseCheckConstraints()
    
    	for k, result := range results {
    		v, ok := checks[k]
    		if !ok {
    			t.Errorf("Failed to found check %v from parsed checks %+v", k, checks)
    		}
    
    		for _, name := range []string{"Name", "Constraint"} {
    			if reflect.ValueOf(result).FieldByName(name).Interface() != reflect.ValueOf(v).FieldByName(name).Interface() {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. tests/customize_field_test.go

    	}
    
    	var cc1 CustomizeColumn
    	DB.First(&cc1, "mapped_name = ?", "foo")
    
    	if cc1.Name != expected {
    		t.Errorf("Failed to query CustomizeColumn")
    	}
    
    	cc.Name = "bar"
    	DB.Save(&cc)
    
    	var cc2 CustomizeColumn
    	DB.First(&cc2, "mapped_id = ?", 666)
    	if cc2.Name != "bar" {
    		t.Errorf("Failed to query CustomizeColumn")
    	}
    }
    
    func TestCustomColumnAndIgnoredFieldClash(t *testing.T) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

    /**
     * Exception which occurs when a normal (i.e. non-aggregator) mojo fails to
     * execute. In this case, the mojo failed while executing against a particular
     * project instance, so we can wrap the {@link MojoFailureException} with context
     * information including projectId that caused the failure.
     *
     *
     */
    public class ProjectBuildFailureException extends BuildFailureException {
    
        private final String projectId;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.15.md

    * make node lease renew interval more heuristic based on node-status-update-frequency in kubelet ([#80173](https://github.com/kubernetes/kubernetes/pull/80173), [@gaorong](https://github.com/gaorong))
    * Bugfix: csi plugin supporting raw block that does not need attach mounted failed ([#79920](https://github.com/kubernetes/kubernetes/pull/79920), [@cwdsuzhou](https://github.com/cwdsuzhou))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 278.9K bytes
    - Viewed (0)
  7. tests/delete_test.go

    		t.Errorf("should raise record not found error, but got error %v", err)
    	}
    
    	var result3 UserWithDelete
    	if err := DB.Table("deleted_users").Unscoped().First(&result3, user.ID).Error; err != nil {
    		t.Fatalf("failed to find record, got error %v", err)
    	}
    
    	if err := DB.Table("deleted_users").Unscoped().Delete(&result).Error; err != nil {
    		t.Errorf("failed to delete user with unscoped, got error %v", err)
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 07:03:34 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

                return "";
            }
            return result.getModelIds().get(0);
        }
    
        /**
         * Gets the problems that caused this exception.
         *
         * @return The problems that caused this exception, never {@code null}.
         */
        public List<ModelProblem> getProblems() {
            if (result == null) {
                return Collections.emptyList();
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. ci/official/utilities/extract_resultstore_links.py

    TESTS_FAILED_RE = re.compile(r'^INFO: Build completed, \d+ tests? FAILED')
    BAZEL_COMMAND_RE = re.compile(
        r'(^| )(?P<command>bazel (.*? )?(?P<type>test|build) .+)')
    
    
    class InvokeStatus:
      tests_failed = 'tests_failed'
      build_failed = 'build_failed'
      passed = 'passed'
    
    
    def parse_args() -> argparse.Namespace:
      """Parses the commandline args."""
      parser = argparse.ArgumentParser(
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Service.java

         *     state with the exception of {@linkplain State#FAILED FAILED} and {@linkplain
         *     State#TERMINATED TERMINATED}.
         */
        public void terminated(State from) {}
    
        /**
         * Called when the service transitions to the {@linkplain State#FAILED FAILED} state. The
         * {@linkplain State#FAILED FAILED} state is a terminal state in the transition diagram.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
Back to top