Skip to content

Commit 294ae01

Browse files
committed
test case updated
1 parent 59bfb38 commit 294ae01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/operators/anomaly/test_anomaly_simple.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
MODELS = ["automlx", "autots"] # , "auto", "tods",
1818

19-
19+
# Mandatory YAML parameters
2020
TEMPLATE_YAML = {
2121
"kind": "operator",
2222
"type": "anomaly",
@@ -126,6 +126,7 @@ def test_artificial_small(model):
126126
yaml_i["spec"]["model"] = model
127127
yaml_i["spec"]["input_data"]["url"] = input_data
128128
yaml_i["spec"]["output_directory"]["url"] = output_dirname
129+
yaml_i["spec"]["contamination"] = 0.3
129130

130131
with open(anomaly_yaml_filename, "w") as f:
131132
f.write(yaml.dump(yaml_i))

0 commit comments

Comments
 (0)