configurationengine/source/plugins/common/ConeContentPlugin/contentplugin/tests/unittest_confmlrefs.py
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
equal deleted inserted replaced
2:87cfa131b535 3:e7e0ae78773e
    27         try:
    27         try:
    28             from xml.etree import cElementTree as ElementTree
    28             from xml.etree import cElementTree as ElementTree
    29         except ImportError:
    29         except ImportError:
    30             from xml.etree import ElementTree
    30             from xml.etree import ElementTree
    31 
    31 
    32 try:
       
    33 	pkg_resources.require('ConeContentPlugin')
       
    34 except pkg_resources.DistributionNotFound:
       
    35 	import __init__
       
    36 		
       
    37 from contentplugin import contentmlparser
    32 from contentplugin import contentmlparser
    38 
    33 
    39 class TestConfmlRefs(unittest.TestCase):    
    34 class TestConfmlRefs(unittest.TestCase):    
    40     
    35     
    41     def test_is_confml_ref_of_plain_string(self):
    36     def test_is_confml_ref_of_plain_string(self):