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)

@@ -293,8 +293,271 @@
 pUtils)%0A
+%0A    def test_mpputils_init_test(self):%0A        %22%22%22 test initialisation of TEST connection%22%22%22%0A        utils = mpputils.mppUtils('TEST')%0A        # command = inverter.execute('QPIWS')%0A        # print(command)%0A        self.assertIsInstance(utils, mpputils.mppUtils)%0A

Update test_mpputils.py