示例#1
0
 def test___repr__snps(self):
     s = SNPs("tests/input/GRCh37.csv")
     self.assertEqual("SNPs('GRCh37.csv')", s.__repr__())
示例#2
0
    def test___repr__snps_bytes(self):
        with open("tests/input/GRCh37.csv", "rb") as f:
            data = f.read()

        s = SNPs(data)
        self.assertEqual("SNPs(<bytes>)", s.__repr__())
示例#3
0
 def test___repr__snps(self):
     s = SNPs("tests/input/GRCh37.csv")
     assert "SNPs('tests/input/GRCh37.csv')" == s.__repr__()