Commit d35ed362 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][core] Add support to change asset type when calling call

parent 8b0c7547
......@@ -68,6 +68,7 @@ class AssetLocalTest:
use_prefix = kwargs.get("prefix", prefix)
use_platform = kwargs.get("platform", platform)
use_cache = kwargs.get("cache", "cache")
asset_type = kwargs.get("asset_type", self.asset_type)
runner = CliRunner()
with runner.isolated_filesystem():
......@@ -85,9 +86,10 @@ class AssetLocalTest:
use_cache,
"--platform",
use_platform,
common.TYPE_PLURAL[self.asset_type],
common.TYPE_PLURAL[asset_type],
]
+ list(args),
catch_exceptions=False,
)
if result.exit_code != 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment