'Check we can run Rekall based artifacts.'

def testRekallPsListArtifact(self):

    with test_lib.ConfigOverrider({'Rekall.enabled': True, 'Rekall.profile_server': rekall_test_lib.TestRekallRepositoryProfileServer.__name__}):
        fd = self.RunCollectorAndGetCollection(['RekallPsList'], RekallMock(self.client_id, 'rekall_pslist_result.dat.gz'))
    self.assertEqual(len(fd), 35)
    self.assertEqual(fd[0].exe, 'System')
    self.assertEqual(fd[0].pid, 4)
    self.assertIn('DumpIt.exe', [x.exe for x in fd])
