コード例 #1
0
def copy_dev_box_hostname(sysTrayIcon):
    hostname = dev_box.get_hostname()
    if hostname is not None:
        clipboard.copy_text(hostname)
コード例 #2
0
ファイル: test_all.py プロジェクト: jaraco/jaraco.clipboard
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
ファイル: test_all.py プロジェクト: jaraco/jaraco.clipboard
def test_copy_text():
	clipboard.copy_text("foo")
コード例 #5
0
def test_copy_text():
    clipboard.copy_text("foo")