summaryrefslogtreecommitdiff
path: root/tests/analysis/routine.py
blob: da54ee9c80ca0c1c48a5932c8e5c712f175add6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/python3
# -*- coding: utf-8 -*-


from chrysacase import ChrysalideTestCase
from pychrysalide.analysis import BinRoutine


class TestBinaryRoutines(ChrysalideTestCase):
    """TestCase for binary routine."""

    def testUnicodeName(self):
        """Ensure Unicode checks are well performed."""

        name = 'ABC'

        r = BinRoutine()

        r.name = name

        self.assertEqual(r.name, name)