File: test_c_file_naming.py

package info (click to toggle)
python-clevercsv 0.8.3%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,076 kB
  • sloc: python: 6,184; ansic: 870; makefile: 90
file content (23 lines) | stat: -rw-r--r-- 666 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import unittest

import clevercsv


class CNamingTestCase(unittest.TestCase):
    def test_name_cabstraction_module(self) -> None:
        self.assertEqual(
            clevercsv.cabstraction.__name__, "clevercsv.cabstraction"
        )

    def test_name_cparser_module(self) -> None:
        self.assertEqual(clevercsv.cparser.__name__, "clevercsv.cparser")

    def test_name_cparser_error(self) -> None:
        self.assertEqual(
            clevercsv.cparser.Error.__module__, "clevercsv.cparser"
        )

    def test_name_cparser_parser(self) -> None:
        self.assertEqual(
            clevercsv.cparser.Parser.__module__, "clevercsv.cparser"
        )