@composite
def docker_image_strategy(draw, repository_strategy=unique_name_strategy(), tag_strategy=unique_name_strategy()):
 return DockerImage(repository=draw(repository_strategy), tag=draw(tag_strategy))

@ composite def docker_image_strategy ( draw , repository_strategy = unique_name_strategy ( ) , tag_strategy = unique_name_strategy ( ) ) : return DockerImage ( repository = draw ( repository_strategy ) , tag = draw ( tag_strategy ) )
a hypothesis strategy to generate a dockerimage .