def build_simple_test(command_name):
 return build_schema_test(name=str((command_name + u'Tests')), schema={u'$ref': (u'/endpoints.json#/definitions/' + command_name)}, schema_store=SCHEMAS, failing_instances={'additionalProperties': [{u'Err': u'', u'Extra': u''}, {u'Result': u'hello'}], 'required': [{}], 'type': [[], u'', None, {u'Err': 1}, {u'Err': {}}, {u'Err': None}]}, passing_instances=[{u'Err': u''}, {u'Err': u'Something went wrong!'}])

def build_simple_test ( command_name ) : return build_schema_test ( name = str ( ( command_name + u'Tests' ) ) , schema = { u'$ref' : ( u'/endpoints.json#/definitions/' + command_name ) } , schema_store = SCHEMAS , failing_instances = { 'additionalProperties' : [ { u'Err' : u'' , u'Extra' : u'' } , { u'Result' : u'hello' } ] , 'required' : [ { } ] , 'type' : [ [ ] , u'' , None , { u'Err' : 1 } , { u'Err' : { } } , { u'Err' : None } ] } , passing_instances = [ { u'Err' : u'' } , { u'Err' : u'Something went wrong!' } ] )
build a test for simple api commands that respond only with err field .