Global conf and key press wait config option

This commit is contained in:
2021-03-14 14:38:24 +01:00
parent 06468bb224
commit 8c9cc4db88
4 changed files with 13 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ def test_pickup():
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('pickup', message, conf)
sendkeys.send_to_format('pickup', message)
def test_wait():
@@ -26,7 +26,7 @@ def test_wait():
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)
sendkeys.send_to_format('wait', message)
def test_ty():
@@ -35,7 +35,7 @@ def test_ty():
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)
sendkeys.send_to_format('ty', message)
def test_sold():
@@ -44,4 +44,4 @@ def test_sold():
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('sold', message, conf)
sendkeys.send_to_format('sold', message)