File: test_module.py

package info (click to toggle)
python-pysam 0.15.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 17,604 kB
  • sloc: ansic: 125,787; python: 7,782; sh: 284; makefile: 222; perl: 41
file content (15 lines) | stat: -rw-r--r-- 362 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_without_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()