mirror of
https://github.com/mvt-project/mvt.git
synced 2026-08-12 14:10:25 +02:00
Update test PR to work with latest code, fix flake8
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import sys
|
||||
import os
|
||||
from stix2.v21 import (Indicator, Malware, Relationship, Bundle, DomainName)
|
||||
|
||||
from stix2.v21 import (Indicator, Malware, Relationship, Bundle)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
@@ -38,4 +38,5 @@ if __name__ == "__main__":
|
||||
bundle = Bundle(objects=res)
|
||||
with open("test.stix2", "w+") as f:
|
||||
f.write(bundle.serialize(pretty=True))
|
||||
|
||||
print("test.stix2 file created")
|
||||
|
||||
Reference in New Issue
Block a user