Skip to content

Commit

Permalink
Get rid of an unnecessary test
Browse files Browse the repository at this point in the history
It used to be necessary to cover a path that is now gone.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Aug 23, 2023
1 parent bfc8375 commit 3b5ceff
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions tests/whitebox/unittest/test_stratisd_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

# isort: LOCAL
from stratis_cli._error_codes import PoolMaintenanceErrorCode
from stratis_cli._stratisd_constants import PoolActionAvailability, StratisdErrors
from stratis_cli._stratisd_constants import PoolActionAvailability


class PoolActionAvailabilityTestCase(unittest.TestCase):
Expand All @@ -43,15 +43,3 @@ def test_conversion(self):
self.assertEqual(len(result), 2)
self.assertIn(PoolMaintenanceErrorCode.NO_IPC_REQUESTS, result)
self.assertIn(PoolMaintenanceErrorCode.NO_POOL_CHANGES, result)


class StratisdErrorsTestCase(unittest.TestCase):
"""
Test StratisdErrors
"""

def test_str(self):
"""
An OK EngineError is never constructed during stratis-cli operation.
"""
self.assertEqual(str(StratisdErrors.OK), "OK")

0 comments on commit 3b5ceff

Please sign in to comment.