This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
collective.dms.thesaurus/src/collective/dms/thesaurus/tests/test_content.py

25 lines
608 B
Python

# -*- coding: utf8 -*-
import unittest2 as unittest
#import datetime
from plone.app.testing import setRoles, TEST_USER_ID
from collective.dms.thesaurus.testing import INTEGRATION
#from collective.dms.thesaurus import keyword
class TestContentTypes(unittest.TestCase):
"""Base class to test new content types"""
layer = INTEGRATION
def setUp(self):
super(TestContentTypes, self).setUp()
self.portal = self.layer['portal']
setRoles(self.portal, TEST_USER_ID, ['Manager'])
class TestThesaurusContentTypes(TestContentTypes):
def test_something(self):
pass