File: test.py

package info (click to toggle)
python-yubiotp 1.0.0.post1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 196 kB
  • sloc: python: 671; makefile: 130
file content (15 lines) | stat: -rw-r--r-- 315 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from doctest import DocTestSuite
import unittest

from . import crc, modhex, otp


def load_tests(loader, tests, pattern):
    suite = unittest.TestSuite()

    suite.addTests(tests)
    suite.addTest(DocTestSuite(crc))
    suite.addTest(DocTestSuite(modhex))
    suite.addTest(DocTestSuite(otp))

    return suite