import unittest
from mppsolar import mppcommands


class test_mppcommands(unittest.TestCase):
    def test_1(self):
        mp = mppcommands.mppCommands('/dev/ttyUSB0')
        self.assertIsInstance(mp.getKnownCommands(), [])

    def test_init1(self):
        """ Initialisation should fail if no device provided """
        self.assertRaises(mppcommands.NoDeviceError, mppcommands.mppCommands)

@@ -219,10 +219,19 @@
 (), 
-%5B%5D
+array.array
 )%0A%0A 

Update test_mppcommands.py