def _assert_fields(self, response, **fields):
        for field, expected in fields.items():
            actual = getattr(response, field)
            self.assertEquals(expected, actual,
                              "Field %s: %r != %r" % (field, expected, actual))
dataset/ETHPy150Open yyuu/botornado/boto/emr/tests/test_emr_responses.py/TestEMRResponses._assert_fields/original