mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-27 12:04:50 +02:00
Use more descriptive variable names
Co-authored-by: Donghyun Kim <digitalisx99@gmail.com>
This commit is contained in:
+2
-2
@@ -21,8 +21,8 @@ def pytest_generate_tests(metafunc):
|
||||
"""Parameterize tests based on image names"""
|
||||
|
||||
images = metafunc.config.getoption('image')
|
||||
for d in metafunc.config.getoption('image_dir'):
|
||||
images = images + [os.path.join(d, x) for x in os.listdir(d)]
|
||||
for image_dir in metafunc.config.getoption('image_dir'):
|
||||
images = images + [os.path.join(image_dir, dir) for dir in os.listdir(image_dir)]
|
||||
|
||||
# tests with "image" parameter are run against images
|
||||
if 'image' in metafunc.fixturenames:
|
||||
|
||||
Reference in New Issue
Block a user