示例#1
0
 def test_gagflagged(self):
     gp = GenePart()
     self.assertFalse(gp.gagflagged())
     gp.add_annotation("gag_flag", "awesome flag")
     self.assertTrue(gp.gagflagged())
示例#2
0
 def test_gagflagged(self):
     gp = GenePart()
     self.assertFalse(gp.gagflagged())
     gp.add_annotation("gag_flag", "awesome flag")
     self.assertTrue(gp.gagflagged())
示例#3
0
 def test_add_annotation(self):
     gp = GenePart()
     self.assertFalse(gp.annotations)
     gp.add_annotation("gag_flag", "this gene part rulz")
     self.assertTrue(gp.annotations)
示例#4
0
 def test_add_annotation(self):
     gp = GenePart()
     self.assertFalse(gp.annotations)
     gp.add_annotation("gag_flag", "this gene part rulz")
     self.assertTrue(gp.annotations)