File tree Expand file tree Collapse file tree
snakemake_interface_software_deployment_plugins Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -350,8 +350,7 @@ async def get_cache_assets(self) -> Iterable[str]: ...
350350
351351 @abstractmethod
352352 async def cache_asset (self , asset : str ) -> None :
353- """Retrieve/create and store given asset to self.cache_path.
354- """
353+ """Retrieve/create and store given asset to self.cache_path."""
355354 ...
356355
357356 async def managed_cache_asset (self , asset : str ) -> None :
Original file line number Diff line number Diff line change @@ -103,11 +103,11 @@ def test_cache(self, tmp_path):
103103
104104 assert isinstance (env , CacheableEnvBase )
105105
106- async def cache_assets ():
107- for asset in env .get_cache_assets ():
106+ async def cache_assets (env ):
107+ for asset in await env .get_cache_assets ():
108108 await env .managed_cache_asset (asset )
109109
110- asyncio .run (cache_assets ())
110+ asyncio .run (cache_assets (env ))
111111
112112 self ._deploy (env , tmp_path )
113113
You can’t perform that action at this time.
0 commit comments