- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,123 for raised (0.38 sec)
-
tests/test_tutorial/test_dependencies/test_tutorial008c_an_py39.py
@needs_py39 def test_fastapi_error(client: TestClient): with pytest.raises(FastAPIError) as exc_info: client.get("/items/portal-gun") assert "No response object was returned" in exc_info.value.args[0] @needs_py39 def test_internal_server_error(): from docs_src.dependencies.tutorial008c_an_py39 import app client = TestClient(app, raise_server_exceptions=False) response = client.get("/items/portal-gun")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 1.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* In this case though, the result contains simply the (parsed) input version, regardless of the * repositories and their contents. * * @param artifact the artifact for which to resolve the versions * @return a list of resolved {@code Version}s. * @throws org.apache.maven.api.services.VersionRangeResolverException if the resolution failed
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 30.2K bytes - Viewed (0)