X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=py%2Ftest%2FTestSequence.py;h=80fc3e68e84f5489169b011207d489c0023049a5;hp=5fcc36205aa0d1b04614c5ab08c96421ed9fc290;hb=67888dae3b16b9d69aa846e393f11e7ff3633f16;hpb=5c3dc8c42679629c19ece07c0e63a53b1c69663f diff --git a/py/test/TestSequence.py b/py/test/TestSequence.py index 5fcc362..80fc3e6 100644 --- a/py/test/TestSequence.py +++ b/py/test/TestSequence.py @@ -29,14 +29,8 @@ class TestSequence(unittest.TestCase): self.failUnless(s.species == species) def testAnnotations(self): - annot = mussa.annot() - annot.begin = 0 - annot.end = 10 - annot.name = "foo" - annot.type = "utr" - seq = mussa.Sequence("AAGGCCTTAATTGGCCTT") - seq.add_annotation(annot) + seq.add_annotation("foo", "utr", 0, 10) def notestFile(self): # remove no prefix once we have sequence loading from a stream