Skip to content

Commit 1909bf1

Browse files
committed
Change Incident test to expect TypeError
1 parent 87d56b1 commit 1909bf1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stix/test/incident_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def test_add_related_indicator(self):
537537

538538
# Test that this fails
539539
self.assertRaises(
540-
ValueError,
540+
TypeError,
541541
i.add_related_indicator,
542542
"THIS SHOULD FAIL"
543543
)

0 commit comments

Comments
 (0)