Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F4512254
test_exitstatus.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
458 B
Referenced Files
None
Subscribers
None
test_exitstatus.py
View Options
# These warnings are not useful in unit tests.
# pylint: disable=missing-class-docstring,missing-function-docstring,missing-module-docstring
__copyright__
=
"Copyright 2023 the Pacemaker project contributors"
__license__
=
"GPLv2+"
import
unittest
from
pacemaker.exitstatus
import
ExitStatus
class
ExitStatusTestCase
(
unittest
.
TestCase
):
def
test_min_max
(
self
):
self
.
assertEqual
(
ExitStatus
.
OK
,
0
)
self
.
assertEqual
(
ExitStatus
.
MAX
,
255
)
File Metadata
Details
Attached
Mime Type
text/x-script.python
Expires
Wed, Jun 25, 4:43 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1952193
Default Alt Text
test_exitstatus.py (458 B)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment