This commit is contained in:
Florian Bruhin 2019-04-03 10:25:00 +02:00
parent 47289e4560
commit 92e68951e6
1 changed files with 1 additions and 2 deletions

View File

@ -143,8 +143,7 @@ def test_set_pattern_long(hist, message_mock, caplog):
cat.set_pattern(" ".join(map(str, range(10000))))
# pylint: enable=bad-builtin
msg = message_mock.getmsg(usertypes.MessageLevel.error)
assert msg.text.startswith(
"Error with SQL Query: Expression tree is too large")
assert msg.text.startswith("Error with SQL Query:")
@pytest.mark.parametrize('max_items, before, after', [