Minor change to hypothesis
@@ -9,9 +9,9 @@ T = TypeVar("T", bound=str)
@st.composite
def text_dgraph_compat(
- draw: Callable[[st.SearchStrategy[str]], str], max_size: int = 128
+ draw: Callable[[st.SearchStrategy[str]], str], max_size: int = 64
) -> str:
- base_text = draw(st.text(min_size=3, max_size=max_size))
+ base_text = draw(st.text(min_size=4, max_size=max_size))
# Don't fuck with newlines due to a dgraph bug
# https://github.com/dgraph-io/dgraph/issues/4694
assume(len(base_text) > 3)
