vhdl-style-guide/tests/vhdlFile/test_parsing_file.py

20 lines
394 B
Python

# -*- coding: utf-8 -*-
import os
import unittest
from tests import utils
from vsg import vhdlFile
try:
sLrmUnit = os.environ["vsg_file_to_parse"]
lFile, eError = vhdlFile.utils.read_vhdlfile(sLrmUnit)
oFile = vhdlFile.vhdlFile(lFile)
class test_token(unittest.TestCase):
def test_debug(self):
utils.print_objects(oFile, True)
except KeyError:
pass