Fix patterning test
parent
1959cc6097
commit
4f00c7ca4f
|
@ -271,7 +271,7 @@ def test_indicator_stix20_invalid_pattern():
|
||||||
)
|
)
|
||||||
|
|
||||||
assert excinfo.value.cls == stix2.v21.Indicator
|
assert excinfo.value.cls == stix2.v21.Indicator
|
||||||
assert "FAIL: The same qualifier is used more than once" in str(excinfo.value)
|
assert "FAIL: Duplicate qualifier type encountered" in str(excinfo.value)
|
||||||
|
|
||||||
ind = stix2.v21.Indicator(
|
ind = stix2.v21.Indicator(
|
||||||
type="indicator",
|
type="indicator",
|
||||||
|
|
Loading…
Reference in New Issue