<commit_before>from pyramid import testing
from pytest import fixture
from pytest import mark


def test_root_meta():
    from .root import root_metadata
    from .root import IRootPool
    from .root import create_initial_content_for_app_root
    meta = root_metadata
    assert meta.iresource is IRootPool
    assert create_initial_content_for_app_root in meta.after_creation


@fixture
def integration(config):
    config.include('adhocracy_core.registry')
    config.include('adhocracy_core.events')
    config.include('adhocracy_core.catalog')
    config.include('adhocracy_core.graph')
    config.include('adhocracy_core.resources.root')
    config.include('adhocracy_core.resources.pool')
    config.include('adhocracy_core.resources.principal')
    config.include('adhocracy_core.resources.subscriber')<commit_msg>Fix tests for root element<commit_after>from pyramid import testing
from pytest import fixture
from pytest import mark


def test_root_meta():
    from .root import root_metadata
    from .root import IRootPool
    from .root import create_initial_content_for_app_root
    meta = root_metadata
    assert meta.iresource is IRootPool
    assert create_initial_content_for_app_root in meta.after_creation


@fixture
def integration(config):
    config.include('adhocracy_core.registry')
    config.include('adhocracy_core.events')
    config.include('adhocracy_core.catalog')
    config.include('adhocracy_core.graph')
    config.include('adhocracy_core.resources.asset')
    config.include('adhocracy_core.resources.root')
    config.include('adhocracy_core.resources.pool')
    config.include('adhocracy_core.resources.principal')
    config.include('adhocracy_core.resources.subscriber')
{'fraction_non_alphanumeric': 0.08362573099415205, 'fraction_numerical': 0.0, 'mean_word_length': 5.176895306859206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4624003', 'n_tokens_mistral': 526, 'n_tokens_neox': 485, 'n_words': 98}