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

class {{ exercise | camel_case }}Test(unittest.TestCase):
    {% for case in cases -%}
    def test_{{ case["description"] | to_snake }}(self):
        value = "{{ case["input"]["plaintext"] }}"
        expected = "{{ case["expected"] }}"
        self.assertEqual(cipher_text(value), expected)

    {% endfor %}

{{ macros.footer() }}