diff --git a/tests/test_keyboard.py b/tests/test_keyboard.py index 4083ab5..74495e1 100644 --- a/tests/test_keyboard.py +++ b/tests/test_keyboard.py @@ -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 ' \