summaryrefslogtreecommitdiffstats
path: root/python/tests/test_exitstatus.py
blob: 571f6b4778054749bf78fe61b3f33e3f55cb4eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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)