Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Generating ARN strings #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

mikedlr
Copy link

@mikedlr mikedlr commented Oct 3, 2019

This is a first run through generating ARNs - adds a __str__ method to the ARN object as discussed in #6

"arn:aws:s3:::my-bucket/*",
)

@given(sampled_from(arn_examples))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can achieve the same kind of functionality using pytest's parametrize without the need to involve a new testing library.

@laurrentt
Copy link
Contributor

@mikedlr no pressure, but are you still interested in contributing to this PR?

@mikedlr
Copy link
Author

mikedlr commented Oct 23, 2019

Hi; Yes; I've just partly built the open source version of the software which will justify this then I'll complete the patch against the real software.

As far as hypothesis goes I want to also do more broad testing of the handling of different messy strings and fuzzing so I think I'll justify using it. In the meantime it's just the quickest way I knew to do what I want.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants