Skip to content

Commit

Permalink
fixup! fixup! handle mdadm command not available
Browse files Browse the repository at this point in the history
  • Loading branch information
matejmatuska committed Jul 17, 2023
1 parent 60a32c9 commit b5ed0de
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def test_actor_scan_grub_device(current_actor_context, monkeypatch):
current_actor_context.run(config_model=mock_configs.CONFIG)
info = current_actor_context.consume(GrubInfo)
assert info and info[0].orig_devices == ['/dev/vda', '/dev/vdb']
assert len(info) == 1, 'Expected just one GrubInfo message'
assert not info[0].orig_device_name


Expand All @@ -24,6 +25,7 @@ def _get_grub_devices_mocked():
current_actor_context.run(config_model=mock_configs.CONFIG)
info = current_actor_context.consume(GrubInfo)
assert info and info[0].orig_devices == ['/dev/vda']
assert len(info) == 1, 'Expected just one GrubInfo message'
assert info[0].orig_device_name == '/dev/vda'


Expand Down

0 comments on commit b5ed0de

Please sign in to comment.