{%- import "generator_macros.j2" as macros with context -%}
{{ macros.header() }}

class {{ exercise | camel_case }}Test(unittest.TestCase):
    {% for case in cases %}
    def test_{{ case["description"] | to_snake }}(self):
        {%- set value = case["input"]["heyBob"] %}
	{%- set argument = value.replace("\n", "\\n").replace("\r", "\\r").replace("\t","\\t") %}
        {%- set expected = case["expected"] %}
        self.assertEqual({{case["property"]}}("{{argument}}"), "{{expected}}")
    {% endfor %}

{{ macros.footer() }}