parent
a5dc514403
commit
22f2b241a7
|
@ -126,6 +126,7 @@ def test_external_reference_bad_hash():
|
||||||
with pytest.raises(stix2.exceptions.InvalidValueError):
|
with pytest.raises(stix2.exceptions.InvalidValueError):
|
||||||
stix2.v21.ExternalReference(
|
stix2.v21.ExternalReference(
|
||||||
source_name="ACME Threat Intel",
|
source_name="ACME Threat Intel",
|
||||||
|
description="Threat report",
|
||||||
hashes={
|
hashes={
|
||||||
"SHA-123": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
"SHA-123": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue