Added invite test

This commit is contained in:
2021-05-11 19:55:07 +02:00
parent f6775a4717
commit 1f42a7cd48

View File

@@ -7,6 +7,15 @@ def test_sendkeys():
sendkeys.send_text('Hello World')
def test_inv():
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, I would like to buy your level 21 23% Vaal Impurity of Lightning ' \
'listed for 18 chaos in Ritual (stash tab "$"; position: left 22, top 5)'
message = data.Message.from_text(text)
sendkeys.invite(message)
def test_send_to():
config.read_config(r'config.yaml')
text = 'Hi, I would like to buy your level 21 23% Vaal Impurity of Lightning ' \