Skip to content
Snippets Groups Projects
Commit fdff65d6 authored by Jan Mach's avatar Jan Mach
Browse files

Fix: Changed call to subprocess.call() method to support older versions of Python3.

(Redmine issue: #1017)
parent 6ae698ec
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class TestMentatGeoip(unittest.TestCase):
def setUp(self):
if not os.path.isfile('/var/tmp/GeoLite2-ASN.mmdb'):
subprocess.run([os.path.abspath(os.path.join(os.path.dirname(__file__), '../../scripts/fetch-geoipdb.sh')), '/var/tmp'])
subprocess.call([os.path.abspath(os.path.join(os.path.dirname(__file__), '../../scripts/fetch-geoipdb.sh')), '/var/tmp'])
def tearDown(self):
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment