@pytest.fixture
def rootrng(rngschemas):
    rootschema = rngschemas[0].new(basename='root.rng')
    assert (rootschema in rngschemas)
    rootschema.ensure()
    return rootschema
@pytest.fixture
def rootrng(rngschemas):
    rootschema = rngschemas[0].new(basename='root.rng')
    assert (rootschema in rngschemas)
    rootschema.ensure()
    return rootschema