Example #1
0
 def test_setFrameWithNegativeSecondsRaisesAnError(self):
     fto = FrameTime(25, frames=0)
     with self.assertRaises(ValueError):
         fto.__setFrame__(-1)
Example #2
0
 def test_setFrame(self):
     fto = FrameTime(25, frames=0)
     frames = 40120
     fto.__setFrame__(frames)
     full_seconds = frames / 25
     self.compare(fto, 25, frames, full_seconds, 0, 26, 44, 800)