Added invite test
This commit is contained in:
@@ -7,6 +7,15 @@ def test_sendkeys():
|
|||||||
sendkeys.send_text('Hello World')
|
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():
|
def test_send_to():
|
||||||
config.read_config(r'config.yaml')
|
config.read_config(r'config.yaml')
|
||||||
text = 'Hi, I would like to buy your level 21 23% Vaal Impurity of Lightning ' \
|
text = 'Hi, I would like to buy your level 21 23% Vaal Impurity of Lightning ' \
|
||||||
|
|||||||
Reference in New Issue
Block a user