Skip to content

Commit

Permalink
Missing AT bail code
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Mar 13, 2019
1 parent 4684b93 commit 982fe4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plone/restapi/tests/test_content_get.py
Expand Up @@ -174,6 +174,8 @@ class TestContentATGet(unittest.TestCase):
layer = PLONE_RESTAPI_AT_FUNCTIONAL_TESTING

def setUp(self):
if not HAS_AT:
raise unittest.SkipTest('Skip tests if Archetypes is not present')
self.portal = self.layer['portal']
self.portal_url = self.portal.absolute_url()
setRoles(self.portal, TEST_USER_ID, ['Member'])
Expand Down

0 comments on commit 982fe4d

Please sign in to comment.