We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d628bb7 commit c9fe50eCopy full SHA for c9fe50e
1 file changed
tests/test_clipboard.py
@@ -0,0 +1,12 @@
1
+import unittest
2
+import unreal_engine as ue
3
+
4
+class TestClipboard(unittest.TestCase):
5
6
+ def test_copy_and_paste(self):
7
+ ue.clipboard_copy('Hello from python unit test')
8
+ self.assertEqual(ue.clipboard_paste(), 'Hello from python unit test')
9
10
+ def test_copy_and_paste_red_light(self):
11
+ ue.clipboard_copy('Hello from red light test')
12
+ self.assertNotEqual(ue.clipboard_paste(), 'Hello from python unit test')
0 commit comments