Skip to content

Commit

Permalink
minor fix to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Dec 19, 2024
1 parent 466ea02 commit b75623c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test_otaclient/test_create_standby.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def mock_setup(self, mocker: MockerFixture, prepare_ab_slots):
self._boot_control = typing.cast(
BootControllerProtocol, mocker.MagicMock(spec=BootControllerProtocol)
)
self._boot_control.get_standby_boot_dir.return_value = self.slot_b_boot_dir # type: ignore

# ------ mock otaclient cfg ------ #
mocker.patch(f"{OTA_CORE_MODULE}.cfg.STANDBY_SLOT_MNT", str(self.slot_b))
Expand Down

0 comments on commit b75623c

Please sign in to comment.