configurationengine/source/plugins/common/ConeContentPlugin/contentplugin/tests/unittest_content_copy.py
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
equal deleted inserted replaced
2:87cfa131b535 3:e7e0ae78773e
    14 # Description: 
    14 # Description: 
    15 #
    15 #
    16 
    16 
    17 import unittest, os
    17 import unittest, os
    18 import pkg_resources 
    18 import pkg_resources 
    19 try:
    19 
    20     pkg_resources.require('ConeContentPlugin')
       
    21 except pkg_resources.DistributionNotFound:
       
    22     import __init__
       
    23     
       
    24 from cone.public.exceptions import NotSupportedException
    20 from cone.public.exceptions import NotSupportedException
    25 from contentplugin import contentml
    21 from contentplugin import contentml
    26 
    22 
    27 class TestCreateContentPlugin(unittest.TestCase):    
    23 class TestCreateContentPlugin(unittest.TestCase):    
    28     def test_create_content_impl(self):
    24     def test_create_content_impl(self):