

def test_get_attrs_str(self):
    input = {
        'age': '<b>300</b>',
        'weight': 225,
    }
    actual = XmlRenderer.get_attrs_str(actual)
    self.assertIn('age=', actual)
    self.assertIn('&lt;b&gt;300&lt;/b&gt;"', actual, 'Age was not escaped properly')
    self.assertIn('weight=', actual)
    self.assertIn('"225"', actual, 'weight was not quoted properly')

dataset/ETHPy150Open bigjason/datatree/datatree/tests/test_xmlrenderer.py test_XmlRenderer.test_get_attrs_str/VarMisuse@32/51 `input`->`actual`