Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate binary data for format=binary #197

Closed
Stranger6667 opened this issue Oct 29, 2019 · 0 comments · Fixed by #234
Closed

Generate binary data for format=binary #197

Stranger6667 opened this issue Oct 29, 2019 · 0 comments · Fixed by #234
Labels
Priority: Medium Planned for regular releases

Comments

@Stranger6667
Copy link
Member

It might be useful for testing of uploading files.

To do so we need to define & register a custom strategy via register_string_format, something like this:

st.builds(io.BytesIO, st.binary())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium Planned for regular releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants