def test_header_name(self): name = models.HeaderName(name="example") self.assertEqual(repr(name), "<HeaderName: example>")
def test_header(self): header = models.Header(name=models.HeaderName(name="example")) self.assertEqual(repr(header), "<Header: example>")