def assertWritesValue(self, glyphs_value, text):
expected = (<EOL>dedent(<EOL>"""<STR_LIT>"""<EOL>)<EOL>.format(text)<EOL>.splitlines()<EOL>)<EOL>actual = test_helpers.write_to_lines({"<STR_LIT>": glyphs_value})<EOL>self.assertLinesEqual(<EOL>expected, actual, "<STR_LIT>"<EOL>)<EOL>
Assert that the writer produces the given text for the given value.