Fixed keyboard tests

This commit is contained in:
Oliver Hartmann 2021-03-14 14:10:38 +01:00
parent f3648d568c
commit 82b5b8c7a8

View File

@ -22,12 +22,20 @@ def test_pickup():
def test_wait():
conf = config.read_config(r'config.yaml')
sendkeys.send_wait('Sinusal', conf)
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.send_to_format('wait', message, conf)
def test_ty():
conf = config.read_config(r'config.yaml')
sendkeys.send_ty('Sinusal', conf)
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.send_to_format('ty', message, conf)
def test_sold():