FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
UnrealEnginePython/tests/test_clipboard.py at pr_array_params · dfb/UnrealEnginePython · GitHub
dfb
UnrealEnginePython
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
UnrealEnginePython
/
tests
/
test_clipboard.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
15 lines (11 loc) · 499 Bytes
Breadcrumbs
UnrealEnginePython
/
tests
/
test_clipboard.py
Copy path
File metadata and controls
15 lines (11 loc) · 499 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
unittest
import
unreal_engine
as
ue
class
TestClipboard
(
unittest
.
TestCase
):
def
test_copy_and_paste
(
self
):
ue
.
clipboard_copy
(
'Hello from python unit test'
)
self
.
assertEqual
(
ue
.
clipboard_paste
(),
'Hello from python unit test'
)
def
test_copy_and_paste_red_light
(
self
):
ue
.
clipboard_copy
(
'Hello from red light test'
)
self
.
assertNotEqual
(
ue
.
clipboard_paste
(),
'Hello from python unit test'
)
if
__name__
==
'__main__'
:
unittest
.
main
(
exit
=
False
)
Back
|
FazBrowse Home
|
New Git URL