Compare commits

...

2 Commits

  1. 2
      mock/utils/mock_service.py

@ -37,7 +37,7 @@ def mock(_ip, _api, **kwargs):
print("this is none")
return JsonResponse(mock_data, json_dumps_params={'ensure_ascii': False})
else:
bypass(kwargs.get('request'))
return bypass(kwargs.get('request'))
if _api == 'validError':
mock_data = valid_error_tmp.get()
return JsonResponse(mock_data, json_dumps_params={'ensure_ascii': False})

Loading…
Cancel
Save