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'])
def get_laptimer_options(self): return options.get_laptimer_options()