Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F4833338
test_exitstatus.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
459 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
Sun, Jul 20, 9:02 PM (16 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2081503
Default Alt Text
test_exitstatus.py (459 B)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment