Exemplo n.º 1
0
 def test_get_laptimer_options_returns_expected_options(self):
     # Arrange
     units = settings.OPTIONS_UNIT_OF_MEASUREMENT
     timezones = common_timezones
     pins = settings.OPTIONS_PIN_LAPTIMER
     # Act
     laptimer_options = options.get_laptimer_options()
     # Assert
     self.assertSequenceEqual(units, laptimer_options['unitsOfMeasurement'])
     self.assertSequenceEqual(timezones, laptimer_options['timezones'])
     self.assertSequenceEqual(pins, laptimer_options['pins'])
Exemplo n.º 2
0
 def get_laptimer_options(self):
     return options.get_laptimer_options()