Skip to content

Commit

Permalink
tests: update for admin.vm.volume.Clear usage in qvm-template-postpro…
Browse files Browse the repository at this point in the history
…cess
  • Loading branch information
marmarek committed Jul 16, 2020
1 parent 4da218c commit af1c1e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qubesadmin/tests/tools/qvm_template_postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ def test_005_reset_private_img(self):
self.app.expected_calls[
('test-vm', 'admin.vm.volume.List', None, None)] = \
b'0\0root\nprivate\nvolatile\nkernel\n'
self.app.expected_calls[('test-vm', 'admin.vm.volume.Import', 'private',
b'')] = b'0\0'
self.app.expected_calls[('test-vm', 'admin.vm.volume.Clear', 'private',
None)] = b'0\0'

vm = self.app.domains['test-vm']
qubesadmin.tools.qvm_template_postprocess.reset_private_img(vm)
Expand Down

0 comments on commit af1c1e5

Please sign in to comment.