mirror of https://github.com/MISP/PyMISP
chg: Automatically pull the malwares repo when running tests/testlive_comprehensive.py
parent
00be8d8809
commit
a2dc13c5e5
|
@ -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):
|
||||
|
||||
|
|
Loading…
Reference in New Issue