Remove: pytest module

This commit is contained in:
Donghyun Kim
2022-08-02 01:47:18 +09:00
parent 886c2262e0
commit 95c0ca4ffa
-7
View File
@@ -14,8 +14,6 @@ import hashlib
import ntpath
import json
import pytest
#
# HELPER FUNCTIONS
#
@@ -61,7 +59,6 @@ def test_windows_pslist(image, volatility, python):
assert out.find(b"svchost.exe") != -1
assert out.count(b"\n") > 10
assert rc == 0
assert rc == 0
rc, out, err = runvol_plugin(
"windows.pslist.PsList", image, volatility, python, pluginargs=["--pid", "4"])
@@ -69,7 +66,6 @@ def test_windows_pslist(image, volatility, python):
assert out.find(b"system") != -1
assert out.count(b"\n") < 10
assert rc == 0
assert rc == 0
def test_windows_psscan(image, volatility, python):
rc, out, err = runvol_plugin("windows.psscan.PsScan", image, volatility, python)
@@ -79,21 +75,18 @@ def test_windows_psscan(image, volatility, python):
assert out.find(b"svchost.exe") != -1
assert out.count(b"\n") > 10
assert rc == 0
assert rc == 0
def test_windows_dlllist(image, volatility, python):
rc, out, err = runvol_plugin("windows.dlllist.DllList", image, volatility, python)
out = out.lower()
assert out.count(b"\n") > 10
assert rc == 0
assert rc == 0
def test_windows_modules(image, volatility, python):
rc, out, err = runvol_plugin("windows.modules.Modules", image, volatility, python)
out = out.lower()
assert out.count(b"\n") > 10
assert rc == 0
assert rc == 0
def test_windows_hivelist(image, volatility, python):
rc, out, err = runvol_plugin("windows.registry.hivelist.HiveList", image, volatility, python)