Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroel committed Mar 13, 2018
1 parent effbe17 commit 58f230b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/plone/restapi/tests/test_services_types.py
Expand Up @@ -165,3 +165,11 @@ def test_addable_types_for_non_manager_user(self):

self.assertEquals(
len([a for a in response if a['addable']]), 0)

def test_tagged_values(self):
response = self.api_session.get('/@types/Document')
response = response.json()
self.assertEqual(
response['properties']['creators']['vocabulary'],
'plone.app.vocabularies.Users'
)

0 comments on commit 58f230b

Please sign in to comment.