def test_app_get_config(self): app = WSGIApplication() assert app.get_config('resources.i18n', 'locale') == 'en_US' assert app.get_config('resources.i18n', 'locale', 'foo') == 'en_US' assert app.get_config('resources.i18n') == { 'locale': 'en_US', 'timezone': 'America/Chicago', 'required': REQUIRED_VALUE, }