def test_resized_no_viewbox(self):
    svg = ElementTree.fromstring((XML_HEADER + b'<svg width="30" hEIght="15"></svg>'))
    result = ElementTree.tostring(svg_util.make_square(svg))
    self.assertTrue((b'width="80"' in result))
    self.assertTrue((b'hEIght="80"' in result))
    self.assertTrue((b'viewBox="0 -7 30 30"' in result))
def test_resized_no_viewbox(self):
    svg = ElementTree.fromstring((XML_HEADER + b'<svg width="30" hEIght="15"></svg>'))
    result = ElementTree.tostring(svg_util.make_square(svg))
    self.assertTrue((b'width="80"' in result))
    self.assertTrue((b'hEIght="80"' in result))
    self.assertTrue((b'viewBox="0 -7 30 30"' in result))