示例#1
0
def copy_dev_box_hostname(sysTrayIcon):
    hostname = dev_box.get_hostname()
    if hostname is not None:
        clipboard.copy_text(hostname)
示例#2
0
def test_paste_text():
	# first ensure there's something on the clipboard:
	clipboard.copy_text('test for paste')
	assert clipboard.paste_text() == 'test for paste'
示例#3
0
def test_paste_text():
    # first ensure there's something on the clipboard:
    clipboard.copy_text('test for paste')
    assert clipboard.paste_text() == 'test for paste'
示例#4
0
def test_copy_text():
	clipboard.copy_text("foo")
示例#5
0
def test_copy_text():
    clipboard.copy_text("foo")