def test_exts(self, datadir, Manifest):
    datadir.chdir()
    with open('manifest.xml') as src:
        node = fromstring(src.read())
    manifest = Manifest.from_tree(node)
    assert (manifest.extensions == [('xml', 'application/xml')])
def test_exts(self, datadir, Manifest):
    datadir.chdir()
    with open('manifest.xml') as src:
        node = fromstring(src.read())
    manifest = Manifest.from_tree(node)
    assert (manifest.extensions == [('xml', 'application/xml')])