Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,11 @@ def test_a1_a2_d2_create_contracts_on_a_synthetic_graph(tmp_path, mass):

@PROPERTY
@example(prose="Edited prose and citations.")
@given(prose=st.text(alphabet="abcdefghijklmnopqrstuvwxyz .", max_size=35))
# Stripped: a node description must be empty or carry non-whitespace text
# (graph/decl.py), so a whitespace-only draw such as " " is not valid prose.
@given(
prose=st.text(alphabet="abcdefghijklmnopqrstuvwxyz .", max_size=35).map(str.strip)
)
def test_a4_description_and_citation_change_no_key(tmp_path, prose):
with TemporaryDirectory(dir=tmp_path) as temporary:
root = Path(temporary)
Expand Down
Loading