Commit b7f917fa authored by Samuel GAIST's avatar Samuel GAIST

[test][experiments] Add configuration for invalid dependency push test

parent 183bd676
......@@ -714,8 +714,6 @@ def plot_impl(
def get_dependencies(ctx, asset_name):
prefix = ctx.meta["config"].path
exp = Experiment(prefix, asset_name)
if not exp.valid:
raise RuntimeError("Invalid experiment {}".format(exp.errors))
dependencies = {"toolchains": [exp.toolchain.name]}
......
......@@ -94,6 +94,7 @@ class TestOnline(core.OnlineAssetTestCase):
"fork_from": "user/user/unknown/1/unknown",
"fork": "user/user/unknown/1/forked_obj",
"not_owner_push": "other_user/other_user/somechain/1/someexp",
"push_invalid": "errors/user/single/1/description_too_long",
}
def _modify_asset(self, asset_name):
......
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