Skip to content

Commit

Permalink
Change name of test method to run_check
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Feb 26, 2024
1 parent a6cf9c5 commit 84cc406
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stratisd_cert.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def tearDown(self):

DbusMonitor.run_check(self, stop_time)

FilesystemSymlinkMonitor.tearDown(self)
FilesystemSymlinkMonitor.run_check(self)

def _unittest_set_property(
self, object_path, param_iface, dbus_param, dbus_value, exception_name
Expand Down
6 changes: 5 additions & 1 deletion testlib/infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,11 @@ class FilesystemSymlinkMonitor(unittest.TestCase):

_DECODE_DM = "stratis-decode-dm"

def tearDown(self):
def run_check(self):
"""
Check that the filesystem links on the D-Bus and the filesystem links
expected from looking at filesystem devicemapper paths match exactly.
"""
managed_objects = StratisDbus.get_managed_objects()

filesystems = frozenset(
Expand Down

0 comments on commit 84cc406

Please sign in to comment.