From a2dc13c5e50227634781e0eb0abd2c94d6aec01e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Tue, 17 Aug 2021 12:45:27 +0200 Subject: [PATCH] chg: Automatically pull the malwares repo when running tests/testlive_comprehensive.py --- tests/testlive_comprehensive.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/testlive_comprehensive.py b/tests/testlive_comprehensive.py index 7605afc..0a605a2 100644 --- a/tests/testlive_comprehensive.py +++ b/tests/testlive_comprehensive.py @@ -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):