mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-29 12:56:37 +00:00
skip update process if no update supplied
This commit is contained in:
1 parent
c2685f4746
commit
581401d60f
2 files changed
+4
-2
No files matched your search
@@ -299,5 +299,5 @@ def test_update(application: Application, package_ahriman: Package, mocker: Mock
|
||||
|
||||
application.update([package_ahriman])
|
||||
build_mock.assert_called_once()
|
||||
update_mock.assert_has_calls([mock.call([]), mock.call(paths)])
|
||||
finalize_mock.assert_has_calls([mock.call([]), mock.call([package_ahriman])])
|
||||
update_mock.assert_called_with(paths)
|
||||
finalize_mock.assert_called_with([package_ahriman])
|
||||
Reference in new issue
Block a user