Skip to content

Commit

Permalink
ignore volatility test. really
Browse files Browse the repository at this point in the history
  • Loading branch information
trolldbois committed Sep 9, 2015
1 parent 2733ee2 commit d8ae8a8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/haystack/mappings/test_vol.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
import logging
import unittest

try:
from haystack.mappings.vol import VolatilityProcessMapper
except ImportError,e:
unittest.skip('Volatility not installed')
from haystack.mappings.vol import VolatilityProcessMapper

from test.testfiles import zeus_1668_vmtoolsd_exe
from test.testfiles import zeus_856_svchost_exe
Expand All @@ -24,6 +21,10 @@ class TestMapper(unittest.TestCase):
"""

def setUp(self):
try:
import volatility
except ImportError,e:
self.skipTest('Volatility not installed')
pass

def tearDown(self):
Expand Down Expand Up @@ -106,7 +107,7 @@ def test_read_mem(self):
if data == 0xeeffeeff:
# we have a heap
x = m.read_struct(m.start, winxp_32.HEAP)
print x
#print x

self.assertEquals(ctypes.sizeof(x), 1416)
# print x
Expand Down

0 comments on commit d8ae8a8

Please sign in to comment.