File: reader.py

package info (click to toggle)
plaso 20241006-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 673,224 kB
  • sloc: python: 91,831; sh: 557; xml: 97; makefile: 17; sql: 14; vhdl: 11
file content (23 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (2)
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()