def test_echo_method(self):
        func = self.command._echo_method(lambda: {'foo': 'bar'})
        with mock.patch.object(click, 'secho') as secho:
            with settings.runtime_values(format='json'):
                func()
            secho.assert_called_once_with(json.dumps({'foo': 'bar'}, indent=2))
Gets the resource limits.
dataset/ETHPy150Open ansible/tower-cli/tests/test_models_base.py/SubcommandTests.test_echo_method--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/appcfg.py/GetResourceLimits