Skip to content
Snippets Groups Projects
Commit 4dcd8e8b authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

STY: autopep8'd

parent bdad1e39
No related branches found
No related tags found
2 merge requests!130Release v0.14.0,!125F escape
Pipeline #46640 canceled
......@@ -626,10 +626,10 @@ def _same_id_as_resolved_entity(this, that):
def escape_quoted_text(text: str) -> str:
"""The characters `\` and `*` need to be escaped if used in quoted expressions in the query
"""The characters `\\` and `*` need to be escaped if used in quoted expressions in the query
language.
This function return the given string where the characters `\` and `*` are escaped by a `\`.
This function return the given string where the characters `\\` and `*` are escaped by a `\\`.
Parameters
----------
......
......@@ -635,7 +635,6 @@ def test_merge_id_with_resolved_entity():
assert recA.get_property(rtname).value == recB.get_property(rtname).value
def test_escape_quoted_text():
assert escape_quoted_text("bla") == "bla"
assert escape_quoted_text("bl\\a") == "bl\\\\a"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment