PoeTrade/tests/test_keyboard.py

25 lines
529 B
Python

from src import sendkeys
from src import config
def test_sendkeys():
sendkeys.send_text('Hello World')
def test_send_to():
sendkeys.send_to('Sinusal', 'Hi, how are you?')
def test_pickup():
conf = config.read_config(r'config.yaml')
sendkeys.send_pickup('Sinusal', 'Watcher\'s Eye', 11, 'Exalts', conf)
def test_wait():
conf = config.read_config(r'config.yaml')
sendkeys.send_wait('Sinusal', conf)
def test_ty():
conf = config.read_config(r'config.yaml')
sendkeys.send_ty('Sinusal', conf)