old_contents: import unittest
  from mppsolar import mpputils
  from mppsolar import mppinverter
  
  
  class test_mpputils(unittest.TestCase):
      def test_failed_initialisation(self):
          """ Initialisation should fail if no device provided """
          self.assertRaises(mppinverter.NoDeviceError, mpputils.mppUtils)
  
new_contents: import unittest
  from mppsolar import mpputils
  from mppsolar import mppinverter
  
  
  class test_mpputils(unittest.TestCase):
      def test_failed_initialisation(self):
          """ Initialisation should fail if no device provided """
          self.assertRaises(mppinverter.NoDeviceError, mpputils.mppUtils)
  
      def test_mpputils_init_test(self):
          """ test initialisation of TEST connection"""
          utils = mpputils.mppUtils('TEST')
          # command = inverter.execute('QPIWS')
          # print(command)
          self.assertIsInstance(utils, mpputils.mppUtils)
  
subject: Update test_mpputils.py