Added a complex query to the test_malformed test of the QueryKeywordParserTestCase test case.
This commit is contained in:
parent
b07b0e3be4
commit
b7dd53d2f9
@ -111,6 +111,8 @@ class QueryKeywordParserTestCase(unittest.TestCase):
|
||||
["coffee", "tea cake"])
|
||||
self.assertEqual(parse_query_keywords("coffee te\"a ca\"ke"),
|
||||
["coffee", "te\"a", "ca\"ke"])
|
||||
self.assertEqual(parse_query_keywords("coffee\" tea cake\""),
|
||||
["coffee\"", "tea", "cake\""])
|
||||
|
||||
def test_empty(self) -> None:
|
||||
"""Tests the empty query.
|
||||
|
Loading…
Reference in New Issue
Block a user