File: test_module.py

package info (click to toggle)
python-pysam 0.23.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,468 kB
  • sloc: ansic: 158,936; python: 8,604; sh: 338; makefile: 264; perl: 41
file content (15 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import unittest

from PysamTestModule_link_pre_489 import build_read

        
class TestModule(unittest.TestCase):

    def test_pass_if_module_can_be_called(self):
        read = build_read()
        self.assertEqual(read.query_name, "hello")
        self.assertEqual(read.query_sequence, "ACGT")
        

if __name__ == "__main__":
    unittest.main()