Added sendkeys module.
This commit is contained in:
25
tests/test_keyboard.py
Normal file
25
tests/test_keyboard.py
Normal file
@@ -0,0 +1,25 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user