Commit 5473f601 by Nikolaus Schlemm

Merge remote-tracking branch 'grimborg/issue-192-expose-fields-for-options' into…

Merge remote-tracking branch 'grimborg/issue-192-expose-fields-for-options' into issue-192-expose-fields-for-options
parents 1154c12b 08e9e204
......@@ -128,15 +128,17 @@ class TestRootView(TestCase):
for method in ('GET', 'POST',):
expected['actions'][method] = {
'text': {
#'description': '',
'label': None,
# TODO add help_text and label when they are available
#'help_text': '',
#'label': None,
'read_only': False,
'required': True,
'type': 'Single Character',
},
'id': {
#'description': '',
'label': None,
# TODO add help_text and label when they are available
#'help_text': '',
#'label': None,
'read_only': True,
'required': False,
'type': 'Integer',
......@@ -264,15 +266,19 @@ class TestInstanceView(TestCase):
for method in ('GET', 'PATCH', 'PUT', 'DELETE'):
expected['actions'][method] = {
'text': {
# TODO uncomment label and description when they are
# available
#'description': '',
'label': None,
#'label': None,
'read_only': False,
'required': True,
'type': 'Single Character',
},
'id': {
# TODO uncomment label and description when they are
# available
#'description': '',
'label': None,
#'label': None,
'read_only': True,
'required': False,
'type': 'Integer',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment