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

Add tests demonstrating forward-slash behaviors in Turtle, JSON-LD, and SPARQL #1872

Merged
merged 14 commits into from
May 17, 2022
Merged
Prev Previous commit
Next Next commit
Change test form
AJN: @aucampia suggested this patch in Pull Request discussion, and I
applied it while fixing a typo.

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
aucampia authored and ajnelson-nist committed May 6, 2022
commit 62d71c9effe53c8ee98c3a3477e42034881e04b9
4 changes: 2 additions & 2 deletions test/test_sparql/test_forward_slash_escapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 197,9 @@ def test_query_prepares_expanded() -> None:
_test_query_prepares(query_string_expanded)


@pytest.mark.xfail(reason="Syntax error demonstrated in SPARQL query.", strict=True)
def test_query_prepares_prefixed() -> None:
_test_query_prepares(query_string_prefixed)
with pytest.raises(ValueError):
_test_query_prepares(query_string_prefixed)


def _test_escapes_and_query(
Expand Down