mirror of
				https://github.com/home-assistant/supervisor.git
				synced 2025-10-31 14:39:30 +00:00 
			
		
		
		
	Send progress updates during image pull for install/update (#6102)
* Send progress updates during image pull for install/update * Add extra to tests about job APIs * Sent out of date progress to sentry and combine done event * Pulling container image layer
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| """Test base plugin functionality.""" | ||||
|  | ||||
| import asyncio | ||||
| from unittest.mock import MagicMock, Mock, PropertyMock, patch | ||||
| from unittest.mock import ANY, MagicMock, Mock, PropertyMock, patch | ||||
|  | ||||
| from awesomeversion import AwesomeVersion | ||||
| import pytest | ||||
| @@ -373,7 +373,7 @@ async def test_load_with_incorrect_image( | ||||
|         "force": True, | ||||
|     } | ||||
|     coresys.docker.pull_image.assert_called_once_with( | ||||
|         correct_image, "2024.4.0", platform="linux/amd64" | ||||
|         ANY, correct_image, "2024.4.0", platform="linux/amd64" | ||||
|     ) | ||||
|     assert plugin.image == correct_image | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Mike Degatano
					Mike Degatano