Newer
Older
# Mantid Repository : https://github.com/mantidproject/mantid
#
# Copyright © 2019 ISIS Rutherford Appleton Laboratory UKRI,
# NScD Oak Ridge National Laboratory, European Spallation Source
# & Institut Laue - Langevin
# SPDX - License - Identifier: GPL - 3.0 +
from __future__ import (absolute_import, division, print_function)
import unittest
from AbinsModules.Instruments.Instrument import Instrument
class AbinsInstrumentTest(unittest.TestCase):
def test_instrument_notimplemented(self):
instrument = Instrument()
with self.assertRaises(NotImplementedError):
instrument.calculate_q_powder()
with self.assertRaises(NotImplementedError):
instrument.convolve_with_resolution_function()
if __name__ == '__main__':
unittest.main()