|
|
|
@ -2,14 +2,14 @@ import os.path
|
|
|
|
|
import lxml.etree as lxml
|
|
|
|
|
import unittest
|
|
|
|
|
|
|
|
|
|
from conversion_utils.jos_msds_and_properties import SpecificationsBuilder, Converter, Properties
|
|
|
|
|
from conversion_utils.jos_msds_and_properties import SpecificationsParser, Converter, Properties
|
|
|
|
|
|
|
|
|
|
class JosPropertiesToMsdTestCase(unittest.TestCase):
|
|
|
|
|
|
|
|
|
|
def setUp(self):
|
|
|
|
|
specifications_file_name = os.path.join(os.path.dirname(__file__), '../resources/msd-sl.spc.xml')
|
|
|
|
|
builder = SpecificationsBuilder()
|
|
|
|
|
specifications = builder.build(specifications_file_name)
|
|
|
|
|
parser = SpecificationsParser()
|
|
|
|
|
specifications = parser.parse(specifications_file_name)
|
|
|
|
|
self.converter = Converter(specifications)
|
|
|
|
|
|
|
|
|
|
def test_en_en(self):
|
|
|
|
|