configurationengine/source/plugins/symbian/ConeHCRPlugin/hcrplugin/tests/unittest_hcrml_reader.py
equal
deleted
inserted
replaced
13 # |
13 # |
14 # Description: |
14 # Description: |
15 # |
15 # |
16 |
16 |
17 import unittest |
17 import unittest |
18 import os, shutil |
18 import os |
19 import sys |
19 |
20 import __init__ |
|
21 import re |
|
22 import logging |
|
23 import xml.parsers.expat |
|
24 import codecs |
|
25 from hcrplugin.hcr_exceptions import * |
20 from hcrplugin.hcr_exceptions import * |
26 from hcrplugin.hcrrepository import HcrRecord, HcrRepository |
21 from hcrplugin.hcrml_parser import HcrmlReader |
27 from hcrplugin.hcrml_parser import * |
|
28 |
|
29 |
|
30 from testautomation.utils import hex_to_bindata |
|
31 |
|
32 |
|
33 from cone.public import api, exceptions |
|
34 |
22 |
35 try: |
23 try: |
36 from cElementTree import ElementTree |
24 from cElementTree import ElementTree |
37 except ImportError: |
25 except ImportError: |
38 try: |
26 try: |
41 try: |
29 try: |
42 from xml.etree import cElementTree as ElementTree |
30 from xml.etree import cElementTree as ElementTree |
43 except ImportError: |
31 except ImportError: |
44 from xml.etree import ElementTree |
32 from xml.etree import ElementTree |
45 |
33 |
46 from cone.public import exceptions,plugin,utils,api |
|
47 |
34 |
48 |
35 |
49 |
36 |
50 ROOT_PATH = os.path.dirname(os.path.abspath(__file__)) |
37 ROOT_PATH = os.path.dirname(os.path.abspath(__file__)) |
51 |
38 |