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
Michael Chisholm 2020-02-24 20:02:26 -05:00
parent c2b71672f5
commit 274abc52e9
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ def test_indicator_stix20_invalid_pattern():
)
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(
type="indicator",