Created
November 22, 2019 02:09
-
-
Save stasSajin/d9c47cfbc1e86b7343da60b2e06d3d60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from hypothesis import strategies as st | |
from hypothesis import given | |
import pytest | |
@given(data=st.from_type(UserAssessment)) | |
def test_apply_treatment(data): | |
result = apply_treatment(data) | |
# specify asserts in here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment