Ejemplo n.º 1
0
 def test_not_duration_and_end(self):
     c = Calendar(calendar_with_duration_and_end)
     with self.assertRaises(ValueError):
         c.validate()
Ejemplo n.º 2
0
 def test_no_prodid(self):
     c = Calendar(calendar_without_prodid)
     with self.assertRaises(ValueError):
         c.validate()