File: test_module.py

package info (click to toggle)
python-pysam 0.15.4%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 27,992 kB
  • sloc: ansic: 140,738; python: 7,881; sh: 265; makefile: 223; perl: 41
file content (15 lines) | stat: -rw-r--r-- 359 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_with_rpath 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()