Beispiel #1
0
 def test_create_copy_list_from_datacontainer_with_test(self):
     '''
     Test that the loading of the plugins works
     '''
     data = container.DataContainer()
     data.add_value('test/test.txt', '/foo/content/test/test.txt')
     data.add_value('test/test.txt', '/bar/content/test/test.txt')
     data.add_value('product/aaa.txt', '/foo/content/product/aaa.txt')
     data.add_value('images/kuva.jpg', '/foo/content/images/kuva.jpg')
     data.add_value('include/hide.iby', '/bar/content/include/hide.iby')
     impl = contentml.ContentImpl("foo", None)
     copylist = impl.create_copy_list(content=data,
                                      input='test',
                                      output='content')
     self.assertEquals(copylist[0][1], 'content/test.txt')
Beispiel #2
0
 def setUp(self):
     self.imp = contentml.ContentImpl('test.content', None)
     pass
Beispiel #3
0
 def test_create_content_impl(self):
     imp = contentml.ContentImpl('test.content', None)
     pass