Beispiel #1
0
 def test_yeast_model_raises(self):
     with self.assertRaises(YeastException) as ctx:
         YeastModel(u"not an allowed method")
     self.assertEquals(
         str(ctx.exception),
         u"Method 'not an allowed method' not allowed for yeast model",
     )  # noqa
Beispiel #2
0
 def setUp(self):
     self.yeast_model = YeastModel(u"stir plate")