From 868e06eb8bd9a63c21b581d5a9697ed93cc47936 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 3 Jan 2025 22:33:23 +1000 Subject: [PATCH] tests: fix test_model_install.py --- tests/app/services/model_install/test_model_install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/app/services/model_install/test_model_install.py b/tests/app/services/model_install/test_model_install.py index a144356b47..88aaf391ab 100644 --- a/tests/app/services/model_install/test_model_install.py +++ b/tests/app/services/model_install/test_model_install.py @@ -157,8 +157,8 @@ def test_background_install( assert len(bus.events) == 2 assert isinstance(bus.events[0], ModelInstallStartedEvent) assert isinstance(bus.events[1], ModelInstallCompleteEvent) - assert Path(bus.events[0].source) == source - assert Path(bus.events[1].source) == source + assert Path(bus.events[0].source.path) == source + assert Path(bus.events[1].source.path) == source key = bus.events[1].key assert key is not None