########################################################################### # # Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. # # THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN # WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. # # @file test_imports.py # # @date 29-Apr-2020 # @author P. Lucia # # @brief Tests imports of all available modules # ############################################################################ import unittest import sys sys.path.append("../..") from datetime import datetime from dialin.hd.hemodialysis_device import HD class DGValves(unittest.TestCase): # @unittest.skip("Skipping test_imports") def test_hd_get_reject_reasons(self): hd = HD() i = 0 for key, value in hd.ui.get_reject_reasons().items(): self.assertEqual(i, value) i += 1 if __name__ == '__main__': unittest.main(verbosity=2)