def test_settings_getters(self):
        s = h2.settings.Settings(client=True)

        assert s.header_table_size == s[h2.settings.HEADER_TABLE_SIZE]
        assert s.enable_push == s[h2.settings.ENABLE_PUSH]
        assert s.initial_window_size == s[h2.settings.INITIAL_WINDOW_SIZE]
        assert s.max_frame_size == s[h2.settings.MAX_FRAME_SIZE]
        assert s.max_concurrent_streams == 2**32 + 1  # A sensible default.
Getters exist for well-known settings.
dataset/ETHPy150Open python-hyper/hyper-h2/test/test_settings.py/TestSettings.test_settings_getters