Пример #1
0
    def test_default_instrument_returns_MUSR_if_default_instrument_is_not_muon_instrument(
            self):
        ConfigService['default.instrument'] = 'LOQ'

        instrument = utils.get_default_instrument()

        self.assertEqual(instrument, 'MUSR')
Пример #2
0
    def test_default_instrument_returns_MUSR_if_default_instrument_is_not_muon_instrument(self):
        ConfigService['default.instrument'] = 'LOQ'

        instrument = utils.get_default_instrument()

        self.assertEqual(instrument, 'MUSR')