Skip to content

Commit

Permalink
tests: Actually check that stdout was expected value
Browse files Browse the repository at this point in the history
Previously the expected stdout was completely ignored.
  • Loading branch information
DemiMarie committed May 19, 2024
1 parent 9a8b9c2 commit 9d07581
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qrexec/tests/socket/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def assertExpectedStdout(self, target, expected_stdout: bytes, *, exit_code=0):
self.assertTrue(msg_body)
self.assertEqual(msg_type, qrexec.MSG_DATA_STDOUT)
stdout_entries.append(msg_body)
self.assertEqual(b"".join(stdout_entries), expected_stdout)

def make_executable_service(self, *args):
util.make_executable_service(self.tempdir, *args)
Expand Down

0 comments on commit 9d07581

Please sign in to comment.