def test_resized_with_viewbox(self):
    svg = ElementTree.fromstring((XML_HEADER + b'<svg width="30" height="15" vIewBox="-15 10 60 30"></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="-15 -5 60 60"' in result))
def test_resized_with_viewbox(self):
    svg = ElementTree.fromstring((XML_HEADER + b'<svg width="30" height="15" vIewBox="-15 10 60 30"></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="-15 -5 60 60"' in result))