Skip to content

Commit

Permalink
Complete strategies
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Apr 18, 2022
1 parent 891a62e commit 30c2166
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/strategies/literals/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def round_trippable_built_in(object_: Any) -> bool:
enum_types = to_enum_types(values=objects,
min_size=1)
enums = enum_types.map(list).flatmap(strategies.sampled_from)
objects |= enums
alike_parameters_counts = strategies.integers(0, MAX_ALIKE_PARAMETERS_COUNT)
simple_class_field_name_factories = strategies.just(lambda name: name)
complex_class_field_name_factories = (
Expand Down

0 comments on commit 30c2166

Please sign in to comment.