An exception message changed as a result of a pattern-validator
update. This broke a unit test which was testing the message. I updated the test.master
parent
c2b71672f5
commit
274abc52e9
|
@ -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: WITHIN" in str(excinfo.value)
|
||||||
|
|
||||||
ind = stix2.v21.Indicator(
|
ind = stix2.v21.Indicator(
|
||||||
type="indicator",
|
type="indicator",
|
||||||
|
|
Loading…
Reference in New Issue