escape ( and )

This commit is contained in:
2021-03-14 14:54:59 +01:00
parent 8c9cc4db88
commit 6f5cbcc23a
2 changed files with 30 additions and 13 deletions

View File

@@ -45,3 +45,11 @@ def test_sold():
'listed for 18 chaos in Ritual (stash tab "$"; position: left 22, top 5)'
message = data.Message.from_text(text)
sendkeys.send_to_format('sold', message)
def test_ty_wo_trade():
conf = config.read_config(r'config.yaml')
data.compile_regex(conf)
text = '2021/03/08 23:24:52 17931875 bb3 [INFO Client 1492] @From Sinusal: Hi, how are you doing? '
message = data.Message.from_text(text)
sendkeys.send_to_format('ty', message)