code: def test_read_json_settings_from_config(self, app, client):
      class TestConfig(object):
          RESTPLUS_JSON = {
              "indent": 2,
              "sort_keys": True,
              "separators": (", ", ": "),
          }
  
      app.config.from_object(TestConfig)
      api = restplus.Api(app)
  
      class Foo(restplus.Resource):
          def get(self):
              return {"foo": "bar", "baz": "qux"}
  
      api.add_resource(Foo, "/foo")
  
      data = client.get("/foo").data
  
      expected = b'{\n  "baz": "qux", \n  "foo": "bar"\n}\n'
  
      assert data == expected
  
imports: from __future__ import unicode_literals
  import flask
  import pytest
  import six
  from json import dumps, JSONEncoder
  from flask import Blueprint, redirect, views
  from werkzeug.exceptions import HTTPException, Unauthorized, BadRequest
  import flask_restplus
label_desc: Use image node_id 34 for calling the APITest obj's underlying member method code with example usage: obj.test_read_json_settings_from_config(app, client) and returns: dict