def test_get_sections(single_question_schema):
    schema = QuestionnaireSchema(single_question_schema)
    assert len(schema.get_sections()) == 1
def test_schema_attributes_returns_hashable_values(question_schema):
    schema = QuestionnaireSchema(question_schema)
    for section in schema.get_sections():
        assert_all_dict_values_are_hashable(section)