Generate stix2 for each test run

This commit is contained in:
Donncha Ó Cearbhaill
2022-01-07 17:51:21 +01:00
parent 3f8dade610
commit e85c70c603
10 changed files with 47 additions and 171 deletions
+2 -8
View File
@@ -18,11 +18,5 @@ def get_artifact_folder():
def get_backup_folder():
return os.path.join(os.path.dirname(__file__), "artifacts", "ios_backup")
def init_setup():
"""
init data to have a clean state before testing
"""
try:
del os.environ['MVT_STIX2']
except KeyError:
pass
def get_indicator_file():
print("PYTEST env", os.getenv('PYTEST_CURRENT_TEST'))