tests: Update tests after fix for filtering stderr

This commit is contained in:
Marek Marczykowski-Górecki 2017-12-05 22:20:53 +01:00
parent 1813988074
commit afc9e645fa
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -712,7 +712,7 @@ class TC_20_QubesLocal(unittest.TestCase):
p = self.app.run_service('some-vm', 'service.name')
mock_proc.assert_called_once_with([
qubesadmin.config.QREXEC_CLIENT,
'-d', 'some-vm', 'DEFAULT:QUBESRPC service.name dom0'],
'-d', 'some-vm', '-T', 'DEFAULT:QUBESRPC service.name dom0'],
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
@ -739,7 +739,7 @@ class TC_20_QubesLocal(unittest.TestCase):
p = self.app.run_service('some-vm', 'service.name', user='user')
mock_proc.assert_called_once_with([
qubesadmin.config.QREXEC_CLIENT,
'-d', 'some-vm',
'-d', 'some-vm', '-T',
'user:QUBESRPC service.name dom0'],
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)