summaryrefslogtreecommitdiff
path: root/tests/analysis/scan/options.py
blob: 7617b3aec34e4c666eb27b7d2870a80bd2ada1f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


from chrysacase import ChrysalideTestCase
from gi._constants import TYPE_INVALID
from pychrysalide.analysis.scan import ScanOptions


class TestScanOptions(ChrysalideTestCase):
    """TestCase for analysis.scan.ScanOptions."""

    def testEmptyOptions(self):
        """Check default scan options."""

        ops = ScanOptions()

        self.assertEqual(ops.backend_for_data, TYPE_INVALID)