Skip to content

Commit

Permalink
Make DbusMonitor a parent class of the testing class
Browse files Browse the repository at this point in the history
Otherwise, the trace attribute is not maintained properly.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed May 20, 2024
1 parent a2531e8 commit 2d29a98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stratis_cli_cert.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def test_access_stratis_man_page(self):


class StratisCliCertify(
StratisdSystemdStart, StratisCertify
StratisdSystemdStart, StratisCertify, DbusMonitor
): # pylint: disable=too-many-public-methods
"""
Unit tests for the stratis-cli package.
Expand Down
2 changes: 1 addition & 1 deletion stratisd_cert.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _unittest_command(self, result, expected_return_code):


class StratisdCertify(
StratisdSystemdStart, StratisCertify
StratisdSystemdStart, StratisCertify, DbusMonitor
): # pylint: disable=too-many-public-methods
"""
Tests on stratisd, the principal daemon.
Expand Down

0 comments on commit 2d29a98

Please sign in to comment.