Ejemplo n.º 1
0
 def testFlux(self):
     productionSpan = ProductionSpan()
     productionSpan.Start -= timedelta(days=2)
     productionSpan.Total = 10
     self.assertEqual(productionSpan.flux(), 5)