예제 #1
0
 def test_derive(self):
     version = Version()
     version.set_flight_attr = Mock()
     version.derive()
     version.set_flight_attr.assert_called_once_with(__version__)
예제 #2
0
 def test_can_operate(self):
     self.assertEqual(Version.get_operational_combinations(),
                      [('Start Datetime',)])