chg: Automatically pull the malwares repo when running tests/testlive_comprehensive.py

pull/779/head
Raphaël Vinot 2021-08-17 12:45:27 +02:00
parent 00be8d8809
commit a2dc13c5e5
1 changed files with 5 additions and 1 deletions

View File

@ -1,9 +1,9 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
import unittest
from pymisp.tools import make_binary_objects
@ -51,6 +51,10 @@ urllib3.disable_warnings()
fast_mode = False
if not Path('tests/viper-test-files').exists():
print('The test files are missing, pulling it.')
os.system('git clone https://github.com/viper-framework/viper-test-files.git tests/viper-test-files')
class TestComprehensive(unittest.TestCase):