Merge pull request #353 from chisholm/fix_indicator_test

Update exception message in an indicator unit test
master
Chris Lenk 2020-03-05 10:51:27 -05:00 committed by GitHub
commit 413aab62dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 excinfo.value.cls == stix2.v21.Indicator
assert "FAIL: Duplicate qualifier type encountered" 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",