def testStylePath( self ):
      os.environ[ "STYLEPATH" ] = "/path/to/style1:/path/to/style2"

      desired = [ '/path/to/style1', '/path/to/style2' ]
      actual = S.types.lib.stylePath( '$STYLEPATH' )

      msg = "Incorrect STYLEPATH"
      self.assertEqual( desired, actual, msg = msg )
A basic test of 'stylePath' utility function.
dataset/ETHPy150Open nasa/mplStyle/mplStyle/types/test/test_lib.py/Testlib.testStylePath