fix import error
parent
191b14a4bb
commit
29871427b7
|
@ -9,7 +9,7 @@ from .base import _Observable, _STIXBase
|
||||||
from .properties import (BinaryProperty, BooleanProperty, DictionaryProperty,
|
from .properties import (BinaryProperty, BooleanProperty, DictionaryProperty,
|
||||||
EmbeddedObjectProperty, EnumProperty, HashesProperty,
|
EmbeddedObjectProperty, EnumProperty, HashesProperty,
|
||||||
HexProperty, IntegerProperty, ListProperty,
|
HexProperty, IntegerProperty, ListProperty,
|
||||||
ObjectReferenceProperty, Property, StringProperty,
|
ObjectReferenceProperty, StringProperty,
|
||||||
TimestampProperty, TypeProperty)
|
TimestampProperty, TypeProperty)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -648,4 +648,3 @@ def test_x509_certificate_example():
|
||||||
assert x509.type == "x509-certificate"
|
assert x509.type == "x509-certificate"
|
||||||
assert x509.issuer == "C=ZA, ST=Western Cape, L=Cape Town, O=Thawte Consulting cc, OU=Certification Services Division, CN=Thawte Server CA/emailAddress=server-certs@thawte.com" # noqa
|
assert x509.issuer == "C=ZA, ST=Western Cape, L=Cape Town, O=Thawte Consulting cc, OU=Certification Services Division, CN=Thawte Server CA/emailAddress=server-certs@thawte.com" # noqa
|
||||||
assert x509.subject == "C=US, ST=Maryland, L=Pasadena, O=Brent Baccala, OU=FreeSoft, CN=www.freesoft.org/emailAddress=baccala@freesoft.org" # noqa
|
assert x509.subject == "C=US, ST=Maryland, L=Pasadena, O=Brent Baccala, OU=FreeSoft, CN=www.freesoft.org/emailAddress=baccala@freesoft.org" # noqa
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue