from unittest import TestCase
# import mppsolar


class test_mppcommands(TestCase):
    def testOne(self):
        # mp = mppsolar.mpputils.mppUtils('/dev/ttyUSB0')
        # mp.getKnownCommands()
        return True

from unittest import TestCase
from mppsolar import *


class test_mppcommands(TestCase):
    def testOne(self):
        mp = mpputils.mppUtils('/dev/ttyUSB0')
        mp.getKnownCommands()
        return True

Update test_mppcommands.py