Sort imports
parent
ce42c02cee
commit
4583da3ef2
|
@ -3,10 +3,10 @@ import shutil
|
|||
|
||||
import pytest
|
||||
|
||||
from stix2 import (Filter, MemorySource, MemoryStore, properties)
|
||||
from stix2 import Filter, MemorySource, MemoryStore, properties
|
||||
from stix2.datastore import make_id
|
||||
from stix2.v20 import (Bundle, Campaign, CustomObject, Identity, Indicator,
|
||||
Malware, Relationship)
|
||||
from stix2.datastore import make_id
|
||||
|
||||
from .constants import (CAMPAIGN_ID, CAMPAIGN_KWARGS, IDENTITY_ID,
|
||||
IDENTITY_KWARGS, INDICATOR_ID, INDICATOR_KWARGS,
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
import pytest
|
||||
|
||||
from stix2 import markings
|
||||
from stix2.v20 import Malware, TLP_RED
|
||||
from stix2.exceptions import MarkingNotFoundError
|
||||
from stix2.v20 import TLP_RED, Malware
|
||||
|
||||
from .constants import MALWARE_MORE_KWARGS as MALWARE_KWARGS_CONST
|
||||
from .constants import MARKING_IDS
|
||||
|
|
|
@ -3,10 +3,10 @@ import shutil
|
|||
|
||||
import pytest
|
||||
|
||||
from stix2 import (Filter, MemorySource, MemoryStore, properties)
|
||||
from stix2 import Filter, MemorySource, MemoryStore, properties
|
||||
from stix2.datastore import make_id
|
||||
from stix2.v21 import (Bundle, Campaign, CustomObject, Identity, Indicator,
|
||||
Malware, Relationship)
|
||||
from stix2.datastore import make_id
|
||||
|
||||
from .constants import (CAMPAIGN_ID, CAMPAIGN_KWARGS, IDENTITY_ID,
|
||||
IDENTITY_KWARGS, INDICATOR_ID, INDICATOR_KWARGS,
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import pytest
|
||||
|
||||
from stix2 import markings
|
||||
from stix2.v21 import Malware, TLP_RED
|
||||
from stix2.exceptions import MarkingNotFoundError
|
||||
from stix2.v21 import TLP_RED, Malware
|
||||
|
||||
from .constants import MALWARE_MORE_KWARGS as MALWARE_KWARGS_CONST
|
||||
from .constants import MARKING_IDS
|
||||
|
|
Loading…
Reference in New Issue