1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Tests for the SQLite-based storage reader."""
import unittest
from plaso.storage.sqlite import reader
from tests.storage import test_lib
class SQLiteStorageReaderTest(test_lib.StorageTestCase):
"""Tests for the SQLite-based storage reader."""
def testInitialization(self):
"""Tests the __init__ function."""
test_path = self._GetTestFilePath(['pinfo_test.plaso'])
test_reader = reader.SQLiteStorageReader(test_path)
self.assertIsNotNone(test_reader)
if __name__ == '__main__':
unittest.main()
|