MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / endpoints

Endpoints128 in github.com/HypothesisWorks/hypothesis

Routeadd_a
rule(target=a, a=st.integers())
hypothesis/tests/nocover/test_stateful.py:None
Routeadjust_float
rule(target=varied_floats, source=varied_floats, offset=integers(-100, 100))
hypothesis/tests/nocover/test_strategy_state.py:None
Routebunch
rule(target=nodes, source=st.lists(nodes))
hypothesis/tests/nocover/test_stateful.py:None
Routebunch
rule(target=nodes, source=lists(nodes))
hypothesis/tests/cover/test_stateful.py:None
Routecat_tuples
rule(target=strategy_tuples, left=strategy_tuples, right=strategy_tuples)
hypothesis/tests/nocover/test_strategy_state.py:None
Routecharge
rule(targets=(charges,), child=charges)
hypothesis/tests/nocover/test_stateful.py:None
Routecreate
rule(target=b1)
hypothesis/tests/cover/test_stateful.py:None
Routecreate_bun
initialize(target=buns)
hypothesis/tests/cover/test_stateful.py:None
Routecreate_stuff
stateful.rule(target=Stuff, name=st.text())
hypothesis/tests/cover/test_statistical_events.py:None
Routecreate_thing
stateful.rule(target=Things, name=st.text())
hypothesis/tests/cover/test_statistical_events.py:None
Routedepopulate_b1
rule(target=b2, consumed=consumes(b1))
hypothesis/tests/cover/test_stateful.py:None
Routedo_not_populate
rule(target=b)
hypothesis/tests/cover/test_stateful.py:None
Routef
rule(target=values, value=st.lists(values))
hypothesis/tests/nocover/test_stateful.py:None
Routefiltered_strategy
rule(target=strategies, source=strategies, level=integers(1, 10), mixer=text())
hypothesis/tests/nocover/test_strategy_state.py:None
Routeflatmapped_strategy
rule( target=strategies, source=strategies, result1=strategies, result2=strate
hypothesis/tests/nocover/test_strategy_state.py:None
Routefloat
rule(target=varied_floats, source=floats())
hypothesis/tests/nocover/test_strategy_state.py:None
Routefloat_range
rule(target=strategies, left=varied_floats, right=varied_floats)
hypothesis/tests/nocover/test_strategy_state.py:None
Routeget_example
rule(target=objects, strat=strategies, data=data())
hypothesis/tests/nocover/test_strategy_state.py:None
Routehi
rule(target=stuff)
hypothesis/tests/nocover/test_stateful.py:None
Routeinit
initialize(targets=[bundles[name] for name in bundle_names])
hypothesis/tests/cover/test_stateful.py:None
Routeinit_data
initialize(target=data, value=integers())
hypothesis/tests/cover/test_stateful.py:None
Routeinitialize
initialize(target=a)
hypothesis/tests/cover/test_stateful.py:None
Routeinitialize_a
initialize(target=a, dep=just("dep"))
hypothesis/tests/cover/test_stateful.py:None
Routeinteger_range
rule(target=strategies, left=integers(), right=integers())
hypothesis/tests/nocover/test_strategy_state.py:None
Routejust_strategy
rule(target=strategies, value=objects)
hypothesis/tests/nocover/test_strategy_state.py:None
Routek
rule(target=keys, k=st.binary())
hypothesis/tests/nocover/test_database_agreement.py:None
Routek
rule(target=keys, k=st.binary())
hypothesis/tests/redis/test_redis_exampledatabase.py:None
Routek
rule(target=keys, k=st.binary())
hypothesis/tests/cover/test_database_backend.py:None
Routek
rule(target=keys, k=binary())
hypothesis/tests/cover/test_stateful.py:None
Routeleaf
rule(target=trees, x=st.booleans())
hypothesis/tests/nocover/test_stateful.py:None
Routelist_strategy
rule(target=strategies, elements=strategies)
hypothesis/tests/nocover/test_strategy_state.py:None
Routenew_key
rule(key=st.integers(), score=st.integers(0, 100), target=keys)
hypothesis/tests/nocover/test_cache_implementation.py:None
Routeno_phases
settings(phases=[Phase.target, Phase.shrink, Phase.explain])
hypothesis/tests/cover/test_core.py:None
Routenone_charge
rule(targets=(charges,))
hypothesis/tests/nocover/test_stateful.py:None
Routeor_strategy
rule(target=strategies, left=strategies, right=strategies)
hypothesis/tests/nocover/test_strategy_state.py:None
Routepopulate
rule(targets=(b1, b2))
hypothesis/tests/nocover/test_stateful.py:None
Routepopulate_b1
rule(target=b1)
hypothesis/tests/cover/test_stateful.py:None
Routepopulate_bundle
rule(target=b, items=lists(elements=integers(), max_size=10))
hypothesis/tests/cover/test_stateful.py:None
Routesampled_from_strategy
rule(target=strategies, values=lists(integers() | text(), min_size=1))
hypothesis/tests/nocover/test_strategy_state.py:None
Routeset_initial
initialize(target=my_bundle)
hypothesis/tests/cover/test_stateful.py:None
Routesingle_tuple
rule(target=strategy_tuples, source=strategies)
hypothesis/tests/nocover/test_strategy_state.py:None
Routesplit
rule(target=trees, left=trees, right=trees)
hypothesis/tests/nocover/test_stateful.py:None
Routestrategy
rule( target=strategies, spec=sampled_from( ( integers(),
hypothesis/tests/nocover/test_strategy_state.py:None
Routestrategy_for_tupes
rule(target=strategies, spec=strategy_tuples)
hypothesis/tests/nocover/test_strategy_state.py:None
Routetest_builds_suggests_from_type
pytest.mark.parametrize( "type_", [ # Old-style `List` because `list[int]() == list()`, so no
hypothesis/tests/cover/test_lookup.py:None
Routetest_can_constrain_characters_to_codec
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes 2000s; large & s
hypothesis/tests/nocover/test_characters.py:None
Routetest_can_find_quite_broad_lists
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes 2 hours" )
hypothesis/tests/nocover/test_recursive.py:None
Routetest_can_generate
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes ~30s each; Cross
hypothesis/tests/cover/test_regex.py:None
Routetest_can_get_type_hints
pytest.mark.parametrize( "thing", [ annotated_func, # Works via typing.get_type_hints
hypothesis/tests/cover/test_lookup.py:None
Routetest_can_manage_very_long_ranges_with_step
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes hours; may get f
hypothesis/tests/cover/test_randoms.py:None
Routetest_can_mock_inside_given_without_fixture
mock.patch("math.atan")
hypothesis/tests/cover/test_mock.py:None
Routetest_can_mock_outside_given_with_fixture
mock.patch("math.atan")
hypothesis/tests/cover/test_mock.py:None
Routetest_can_resolve_recursive_dataclass
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes ~11 mins; datast
hypothesis/tests/cover/test_lookup_py38.py:None
Routetest_chained_filters_find_rare_value
given(rare_value_strategy(n=128, target=80))
hypothesis/tests/nocover/test_sampled_from.py:None
Routetest_clamp
given(clamp_inputs())
hypothesis/tests/conjecture/test_junkdrawer.py:None
Routetest_clears_out_its_database_on_shrinking
pytest.mark.parametrize("skip_target", [False, True])
hypothesis/tests/conjecture/test_engine.py:None
Routetest_cli_python_equivalence
pytest.mark.parametrize( "cli,code", [ # Passing one argument falls back to one-argument tests
hypothesis/tests/ghostwriter/test_ghostwriter_cli.py:None
Routetest_constants_from_running_file
pytest.mark.xfail( condition=settings.get_current_profile_name() != "ci", strict=False, reason="Re
hypothesis/tests/cover/test_constants_ast.py:None
Routetest_database_equivalence
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="isn't threadsafe" )
hypothesis/tests/nocover/test_database_agreement.py:None
Routetest_database_listener_background_write
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes ages" )
hypothesis/tests/cover/test_database_backend.py:None
Routetest_does_not_generate_surrogates
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes ~10 minutes; man
hypothesis/tests/nocover/test_simple_strings.py:None
Routetest_does_not_rewrite_unsatisfiable_len_filter
pytest.mark.parametrize( "predicate", [ (lambda x: len(x) < 3), (lambda x: len(x) > 5)
hypothesis/tests/cover/test_filter_rewriting.py:None
Routetest_drawing_from_recursive_strategy_is_thread_safe
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="not threadsafe" )
hypothesis/tests/nocover/test_recursive.py:None
Routetest_efficient_lists_of_tuples_first_element_sampled_from
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes 3-5 mins and rai
hypothesis/tests/cover/test_sampled_from.py:None
Routetest_example_argument_validation
pytest.mark.xfail( settings.get_current_profile_name() == "threading", reason=( "dynamic @exam
hypothesis/tests/cover/test_lookup_py38.py:None
Routetest_exception_deduplication
pytest.mark.parametrize( "exceptions,output", [ # Discard subclasses of other exceptions to ca
hypothesis/tests/ghostwriter/test_ghostwriter.py:None
Routetest_fails_health_check_for_slow_draws
skipif_time_unpatched
hypothesis/tests/conjecture/test_engine.py:None
Routetest_filter_rewriting_floats
pytest.mark.parametrize( "strategy, predicate, min_value, max_value", [ # Floats with integer
hypothesis/tests/cover/test_filter_rewriting.py:None
Routetest_filter_rewriting_ints
pytest.mark.parametrize( "strategy, predicate, start, end", [ # Finitude check (st.int
hypothesis/tests/cover/test_filter_rewriting.py:None
Routetest_filter_rewriting_lambda_len_unique_elements
pytest.mark.parametrize( "predicate, start, end", [ # Simple lambdas (lambda x: len(x)
hypothesis/tests/cover/test_filter_rewriting.py:None
Routetest_filter_rewriting_text_lambda_len
pytest.mark.parametrize( "predicate, start, end", [ # Simple lambdas (lambda x: len(x)
hypothesis/tests/cover/test_filter_rewriting.py:None
Routetest_filter_rewriting_text_partial_len
pytest.mark.parametrize( "strategy, predicate, start, end", [ # text with integer bounds
hypothesis/tests/cover/test_filter_rewriting.py:None
Routetest_flags_finds_all_bits_set
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes ~10 mins; path t
hypothesis/tests/nocover/test_sampled_from.py:None
Routetest_from_dtype_with_kwargs
pytest.mark.parametrize( "dtype, kwargs, pred", [ # Floating point: bounds, exclusive bounds,
hypothesis/tests/numpy/test_from_dtype.py:None
Routetest_fuzz_one_input
pytest.mark.parametrize( "buffer_type", [bytes, bytearray, memoryview, io.BytesIO], ids=attrgetter
hypothesis/tests/cover/test_fuzz_one_input.py:None
Routetest_generic_origin_from_type
pytest.mark.parametrize( "strat, type_", [ (st.from_type, MyGeneric[T]), (st.from_type
hypothesis/tests/cover/test_type_lookup.py:None
Routetest_generic_origin_without_type_args
pytest.mark.parametrize( "generic", ( Callable, list, Sequence, # you
hypothesis/tests/cover/test_type_lookup.py:None
Routetest_get_hints_through_partial
pytest.mark.parametrize( "pf, names", [ (partial(func, 1), "b c d"), (partial(func, 1,
hypothesis/tests/cover/test_compat.py:None
Routetest_get_imports_for_strategy
pytest.mark.parametrize( "strategy, imports", # The specifics don't matter much here; we're just demon
hypothesis/tests/ghostwriter/test_ghostwriter.py:None
Routetest_groups
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes ~30s each; Cross
hypothesis/tests/cover/test_regex.py:None
Routetest_hashable_type_unhashable_value
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="Crosshair is too much
hypothesis/tests/cover/test_lookup.py:None
Routetest_inquisitor_builds_kwargs_subargs
fails_with_output(""" Falsifying example: test_inquisitor_builds_kwargs_subargs( obj=MyClass( x=0,
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_builds_subargs
fails_with_output(""" Falsifying example: test_inquisitor_builds_subargs( obj=MyClass( 0, # or an
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_comments_basic_fail_if_either
fails_with_output(""" Falsifying example: test_inquisitor_comments_basic_fail_if_either( # The test always
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_comments_basic_fail_if_not_all
fails_with_output(""" Falsifying example: test_inquisitor_comments_basic_fail_if_not_all( # The test somet
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_doesnt_break_on_varying_forced_nodes
fails_with_output(""" Falsifying example: test_inquisitor_doesnt_break_on_varying_forced_nodes( n1=100,
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_duplicate_param_names
fails_with_output(""" Falsifying example: test_inquisitor_duplicate_param_names( kw=0, # or any other gen
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_fixeddict_subargs
fails_with_output(""" Falsifying example: test_inquisitor_fixeddict_subargs( d={ 'x': 0, # or any
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_multi_level_nesting
fails_with_output(""" Falsifying example: test_inquisitor_multi_level_nesting( bare=0, # or any other gen
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_no_misleading_comment_for_eq_args
fails_with_output(""" Falsifying example: test_inquisitor_no_misleading_comment_for_eq_args( n1=0, n2=
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_no_together_comment_if_single_argument
fails_with_output(""" Falsifying example: test_inquisitor_no_together_comment_if_single_argument( a='',
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_skip_subset_slices
fails_with_output(""" Falsifying example: test_inquisitor_skip_subset_slices( obj=MyClass( (0, Fal
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_tuple_multiple_varying
fails_with_output(""" Falsifying example: test_inquisitor_tuple_multiple_varying( t=( 0, # or any
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_inquisitor_tuple_subargs
fails_with_output(""" Falsifying example: test_inquisitor_tuple_subargs( t=( 0, # or any other ge
hypothesis/tests/conjecture/test_inquisitor.py:None
Routetest_is_hypothesis_file_does_not_error_on_invalid_paths_issue_2319
pytest.mark.parametrize("fname", ["", "<ipython-input-18-f7c304bea5eb>"])
hypothesis/tests/cover/test_escalation.py:None
Routetest_is_valid_email
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes ~7 mins; first b
hypothesis/tests/nocover/test_emails.py:None
Routetest_issue_2395_regression
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes ~15 minutes, mos
hypothesis/tests/nocover/test_targeting.py:None
Routetest_lots_of_entropy
pytest.mark.skipif( Settings.get_current_profile_name() == "crosshair", reason="takes hours; too much
hypothesis/tests/cover/test_stateful.py:None
Routetest_matmul_signature_can_exercise_all_combination_of_optional_dims
pytest.mark.parametrize( "target_sig", ("(i),(i)->()", "(m,n),(n,p)->(m,p)", "(n),(n,p)->(p)", "(m,n),
hypothesis/tests/numpy/test_gufunc.py:None
Routetest_mixed_list_flatmap
pytest.mark.skipif( settings.get_current_profile_name() == "crosshair", reason="takes ~6 mins in CI, b
hypothesis/tests/nocover/test_flatmap.py:None
next →1–100 of 128, ranked by callers